Files
ladybird/Tests/LibRegex
Andreas Kling 5b8af39167 LibRegex: Speed up ASCII ignore-case literal alternations
Extend the literal alternation fast path to cover ASCII-only
`/i` patterns outside Unicode modes. Search candidate start
positions with a folded first-code-unit set, then verify the
alternatives in source order to preserve ECMAScript semantics.

Keep Unicode ignore-case alternations on the VM path, since they
can match non-ASCII code points through canonicalization. Add
tests for mixed-prefix alternatives, source-order selection,
and the Unicode fallback behavior.
2026-03-29 16:06:57 +02:00
..