Fix coloring with regex