diff --git a/src/Smalot/PdfParser/Font.php b/src/Smalot/PdfParser/Font.php index c08199c3..25a1f561 100644 --- a/src/Smalot/PdfParser/Font.php +++ b/src/Smalot/PdfParser/Font.php @@ -255,7 +255,7 @@ public static function decodeHexadecimal($hexa, $add_braces = false) } $text = ''; - $parts = preg_split('/(<[a-z0-9]+>)/si', $hexa, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); + $parts = preg_split('/(<[a-f0-9]+>)/si', $hexa, -1, PREG_SPLIT_NO_EMPTY | PREG_SPLIT_DELIM_CAPTURE); foreach ($parts as $part) { if (preg_match('/^<.*>$/', $part) && stripos($part, '