Fixes #27 rgb[a] colour format in html

Use regular expression to match groups of highlight options, rather than
splitting on comma (which breaks if rgba(x,y,z,a) string is used)