Closed James4Ever0 closed 10 months ago
Why would anyone care about a Chrome version from over six(!) years ago?!
I care because I use old version of Chrome to ensure visibility of my client-side search based document index.
Thanks a lot. I've added it to my code as a comment. You can use your own encoder to apply such modification. I need to think about how to improve customizing encoders.
This pull request addresses compatibility issues with older versions of Chrome (prior to Chrome 61) by replacing the Unicode property escapes in regular expressions with equivalent expressions using standard character classes.
The original Unicode property escape sequence
[\p{Z}\p{S}\p{P}\p{C}]
has been replaced with a compatible expression to ensure functionality across a wider range of Chrome versions.This change resolves the "invalid regular expression flag" error encountered in Chrome 4x.xx and ensures consistent behavior across different browser versions.