No neg lookbehind (#1493)

* Older versions of Safari 16 don't support lookbehind assertions - https://caniuse.com/js-regexp-lookbehind

* Refactor to show the similarity between these two regexes

* Apply formatting changes

* Create no-neg-lookbehind.md

---------

Co-authored-by: eoghanmurray <eoghanmurray@users.noreply.github.com>
This commit is contained in:
Eoghan Murray
2026-04-01 12:00:00 +08:00
committed by GitHub
parent 1a8dfcc8aa
commit 91bdd6e2c8
3 changed files with 21 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
---
"rrweb-snapshot": patch
"rrweb": patch
---
Replay: Replace negative lookbehind in regexes from css parser as it causes issues with Safari 16

View File

@@ -1,5 +1,5 @@
---
'rrweb': patch
"rrweb": patch
---
Return early for child same origin frames