ladybird/Libraries/LibURL/Pattern
Andreas Kling 34d954e2d7 LibRegex: Add ECMAScriptRegex and migrate callers
Add `ECMAScriptRegex`, LibRegex's C++ facade for ECMAScript regexes.

The facade owns compilation, execution, captures, named groups, and
error translation for the Rust backend, which lets callers stop
depending on the legacy parser and matcher types directly. Use it in the
remaining non-LibJS callers: URLPattern, HTML input pattern handling,
and the places in LibHTTP that only needed token validation.

Where a full regex engine was unnecessary, replace those call sites with
direct character checks. Also update focused LibURL, LibHTTP, and WPT
coverage for the migrated callers and corrected surrogate handling.
2026-03-27 17:32:19 +01:00
..
Canonicalization.cpp Everywhere: Remove sv suffix from format string literals 2025-04-08 20:00:18 -04:00
Canonicalization.h LibURL/Pattern: Do not return errors in some canonicalization steps 2025-04-06 08:24:54 -04:00
Component.cpp LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
Component.h LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
ConstructorStringParser.cpp LibURL/Pattern: Implement 'compute protocol matches a special scheme' 2025-04-06 08:24:54 -04:00
ConstructorStringParser.h LibURL/Pattern: Implement the constructor string parser 2025-03-15 07:39:03 -04:00
Init.cpp Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
Init.h Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
Options.cpp LibURL/Pattern: Add representation of a URL Pattern 'options' struct 2025-04-06 08:24:54 -04:00
Options.h LibURL/Pattern: Add representation of a URL Pattern 'options' struct 2025-04-06 08:24:54 -04:00
Part.cpp LibURL/Pattern: Add a URL Pattern 'Part' representation 2025-04-06 08:24:54 -04:00
Part.h LibURL/Pattern: Add a URL Pattern 'Part' representation 2025-04-06 08:24:54 -04:00
Pattern.cpp LibRegex: Add ECMAScriptRegex and migrate callers 2026-03-27 17:32:19 +01:00
Pattern.h LibURL/Pattern: Implement matching a URLPattern 2025-04-06 08:24:54 -04:00
PatternError.h LibURL/Pattern: Add a representation of a URL Pattern error 2025-03-04 16:32:09 -05:00
PatternParser.cpp Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
PatternParser.h Everywhere: Run clang-format 2026-02-18 08:02:45 -05:00
String.cpp AK+LibURL+LibWeb: Use simdutf to validate ASCII strings 2025-04-06 11:05:58 -04:00
String.h LibURL/Pattern: Implement ability to generate a pattern string 2025-04-06 08:24:54 -04:00
Tokenizer.cpp LibURL/Pattern: Implement the URL Pattern Tokenizer 2025-03-15 07:39:03 -04:00
Tokenizer.h LibURL/Pattern: Implement the URL Pattern Tokenizer 2025-03-15 07:39:03 -04:00