Revert "LibRegex: Remove orphaned save points in nested LookAhead"

This reverts commit f2678bfcb8.
This commit is contained in:
Tim Ledbetter 2025-03-14 17:14:41 +00:00 committed by Tim Ledbetter
commit b9ac99d2eb
Notes: github-actions[bot] 2025-03-14 19:58:28 +00:00
3 changed files with 0 additions and 23 deletions

View file

@ -738,8 +738,6 @@ TEST_CASE(ECMA262_match)
// Optimizer bug, ignoring an enabled trailing 'invert' when comparing blocks, ladybird#3421.
{ "[^]*[^]"sv, "i"sv, true },
{ "xx|...|...."sv, "cd"sv, false },
// Tests nested lookahead with alternation - verifies proper save/restore stack cleanup
{ "a(?=.(?=c)|b)b"sv, "ab"sv, true },
};
for (auto& test : tests) {