Fixed scenario where regex would fail due to color format symbol ordering