News for hackers. Stuff that matters.
Re:Apple is not defending browser engine choice by honkdaddy on Friday June 24, 2022 @08:31AM (#31860790)
In this situation, grabbing a 3rd party JS regex library for a handful of kilobytes probably solves your problem, but I’m sure that crossed your mind.

Is it really as bad as the IE days though? I didn’t work on web back then, but these days if I run into a safari comparability issue, the workaround is usually pretty painless.

Re:Apple is not defending browser engine choice by tomgp on Friday June 24, 2022 @08:45AM (#31860917)
I did work on the web back in those days. The situation now is nothing like it was during IE's dominance in the early 2000s, to claim it is is hyperbole at best.
Re:Apple is not defending browser engine choice by RobertRoberts on Friday June 24, 2022 @09:19AM (#31861319)
You are right, it's worse because the problem is more hidden and therefore a lot harder to solve.

At least in the IE days everyone _knew_ IE was a problem, so we were looking for a solution as a community. Now? We comments that are dismissive of crap instead of inspiring towards quality.

Re:Apple is not defending browser engine choice by lern_too_spel on Friday June 24, 2022 @09:51AM (#31861799)
In the IE days, you could tell the visitor to use Firefox. iOS does not allow such an easy fix.
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.
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