Track whether a pattern can match empty and only skip interior surrogate positions when the matcher must consume input. This keeps the unicode candidate scan fast for consuming searches without dropping valid zero-width matches such as /\B/ and /(?!...)/ between a surrogate pair's two code units. Add runtime coverage for both global lastIndex searches and plain exec() searches on zero-width unicode patterns. |
||
|---|---|---|
| .. | ||
| Rust | ||
| CMakeLists.txt | ||
| ECMAScriptRegex.cpp | ||
| ECMAScriptRegex.h | ||
| RustRegex.cpp | ||
| RustRegex.h | ||