Fixed regular expression related bug

hsl[a] and rgb[a] would choke on certain values being an integer instead
of a float.