Character classes mixing plain ranges with builtin escapes like [\d\w] or [\SA-M] inside quantifiers were compiled as split-based loops, which made us hit backtracking limits. This commit adds SimpleMatch::Union to represent character class unions that can't be collapsed into a flat range set. Now compiler can emit a single GreedyLoop/LazyLoop instruction instead. |
||
|---|---|---|
| .. | ||
| src | ||
| build.rs | ||
| Cargo.toml | ||
| cbindgen.toml | ||