Closed subzey closed 3 years ago
The part of a regular expression ([0-9A-F]{3,4}){1,2} works not the way you could probably expect. It's not
([0-9A-F]{3,4}){1,2}
[0-9A-F]{3} [0-9A-F]{3} | [0-9A-F]{4} [0-9A-F]{4}
it's
[0-9A-F]{3,4} [0-9A-F]{3,4}
So the invalid "HEX7" could sneak in.
Wow, good catch! Thanks a lot!
The part of a regular expression
([0-9A-F]{3,4}){1,2}
works not the way you could probably expect. It's notit's
So the invalid "HEX7" could sneak in.