Added decimal support for the vector tests. Cleaned up the regexs.