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. |
||
|---|---|---|
| .. | ||
| Rust | ||
| CMakeLists.txt | ||
| ECMAScriptRegex.cpp | ||
| ECMAScriptRegex.h | ||
| RustRegex.cpp | ||
| RustRegex.h | ||