We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86f5fea commit d7dd628Copy full SHA for d7dd628
src/Parser.php
@@ -299,7 +299,7 @@ private static function parseDisplayString(string &$string): DisplayString
299
$hex = substr($string, 0, 2);
300
$string = substr($string, 2);
301
302
- if (!preg_match('/^[0-9a-z]{2}$/', $hex)) {
+ if (!preg_match('/^[0-9a-f]{2}$/', $hex)) {
303
throw new ParseException('Invalid hex values in display string');
304
}
305
0 commit comments