ladybird/Libraries/LibRegex
Andreas Kling 29c2fb9574 LibRegex: Keep empty-match surrogate candidates
Track whether a pattern can match empty and only skip interior
surrogate positions when the matcher must consume input. This keeps
the unicode candidate scan fast for consuming searches without
dropping valid zero-width matches such as /\B/ and /(?!...)/ between
a surrogate pair's two code units.

Add runtime coverage for both global lastIndex searches and plain
exec() searches on zero-width unicode patterns.
2026-03-27 17:32:19 +01:00
..
Rust LibRegex: Keep empty-match surrogate candidates 2026-03-27 17:32:19 +01:00
CMakeLists.txt LibRegex: Remove the legacy C++ ECMA-262 engine 2026-03-27 17:32:19 +01:00
ECMAScriptRegex.cpp LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
ECMAScriptRegex.h LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
RustRegex.cpp LibRegex: Avoid widening ASCII regex input 2026-03-27 17:32:19 +01:00
RustRegex.h LibRegex: Avoid widening ASCII regex input 2026-03-27 17:32:19 +01:00