ladybird/Libraries/LibRegex
mikiubo f84edd8173 LibRegex: Fix legacy backreference fallback digit 8 or 9
When a multi-digit decimal escape like \81 exceeds the total capture
group count in non-Unicode mode, the parser falls back to legacy octal
reinterpretation. However, digits '8' and '9' are not valid in octal
(base 8), so passing them to parse_legacy_octal() caused an unwrap()
panic on None from char::to_digit(8).
Treat '8' and '9' as literal characters in the fallback path, matching
the behavior already present for the non-backreference.
2026-04-04 12:12:00 +02:00
..
Rust LibRegex: Fix legacy backreference fallback digit 8 or 9 2026-04-04 12:12:00 +02:00
CMakeLists.txt Meta: Remove ENABLE_RUST build configuration option 2026-04-02 22:59:42 +02: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 Meta: Remove ENABLE_RUST build configuration option 2026-04-02 22:59:42 +02:00
RustRegex.h Meta: Remove ENABLE_RUST build configuration option 2026-04-02 22:59:42 +02:00