Re:Apple is not defending browser engine choice
by SCLeo on Friday June 24, 2022 @08:44AM
(#31860907)
I do not believe there is a 3rd party polyfill for lookbehind as it is quite tricky to implement regular expressions. If you found one, please let me know. Thanks in advance.
[ Parent
| on HN ]
Re:Apple is not defending browser engine choice
by ntoskrnl on Friday June 24, 2022 @08:50AM
(#31860974)
There's always this: https://xregexp.com/
But it's not really a polyfill, just a library.
Re:Apple is not defending browser engine choice
by eyelidlessness on Friday June 24, 2022 @08:54AM
(#31861013)
On mobile and can’t tell whether xregexp still doesn’t have lookbehind, but in case it doesn’t I found this: https://github.com/beaugunderson/xregexp-lookbehind