ladybird/Libraries/LibRegex
Andreas Kling 0f46413baa LibRegex: Speed up \bliteral\b fast paths
Extract whole-pattern `\bliteral\b` cases outside Unicode
modes and handle them with literal search plus ASCII word-
boundary checks. This keeps the optimization narrow while
still covering the token-style patterns that show up often in
our regex workloads.

Keep Unicode word-boundary patterns on the VM path, since
`\b` semantics change there. Add tests for plain matching,
ASCII ignore-case matching, and the Unicode fallback case.
2026-03-29 16:06:57 +02:00
..
Rust LibRegex: Speed up \bliteral\b fast paths 2026-03-29 16:06:57 +02:00
CMakeLists.txt LibRegex: Remove the legacy C++ ECMA-262 engine 2026-03-27 17:32:19 +01:00
ECMAScriptRegex.cpp LibRegex: Respect V8 astral literal lastIndex behavior 2026-03-27 17:32:19 +01:00
ECMAScriptRegex.h LibRegex: Respect V8 astral literal lastIndex behavior 2026-03-27 17:32:19 +01:00
RustRegex.cpp LibRegex: Respect V8 astral literal lastIndex behavior 2026-03-27 17:32:19 +01:00
RustRegex.h LibRegex: Respect V8 astral literal lastIndex behavior 2026-03-27 17:32:19 +01:00