Closed AverageHelper closed 6 months ago
The original regex did not permit uppercase letters in the first three characters of the color string. This new regex permits uppercase letters.
Also the new pattern correctly checks the entire string of matching hex for valid characters, rather than stopping at the first three.
Thanks! Regex isn't my best skill, so I appreciate the fixes here!
The original regex did not permit uppercase letters in the first three characters of the color string. This new regex permits uppercase letters.
Also the new pattern correctly checks the entire string of matching hex for valid characters, rather than stopping at the first three.