Better regex pattern for color code detect (ref #109)