fixed regex colors and added test to ensure it stays fixed