Files
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
..