Screen freezes up when open some pdf files in the viewer

Which product are you using?
PDF.js Express Viewer

PDF.js Express Version
|UI version|‘8.7.0’|
|Core version|‘8.7.4’|
|webviewer.min.js|‘8.7.4’|

Detailed description of issue
The application freezes up when opening a pdf in the viewer. It’s because the regex test is stuck

Expected behaviour
{Provide a screenshot or description of the expected behaviour}

Does your issue happen with every document, or just one?
Not with every documents, but it happens to many documents

Link to document
{Provide a link to the document in question if possible}

Code snippet
{Provide a relevant code snippet}

Hi there,

Could you provide the documents that cause this issue?

Best Regards,
Darian