Commit 33f31ca
authored
Add support for backtracking in pattern matcher (#2273)
Extends the recently introduced "Or" patterns fully (without any
restrictions). The general case is handled via backtracking. The Or
pattern constructor function will automatically determine whether the
optimized (deterministic) matching implementation can be used or if the
backtracking-based implementation should be used.1 parent 3bd6a79 commit 33f31ca
3 files changed
Lines changed: 310 additions & 129 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
87 | 89 | | |
88 | 90 | | |
89 | 91 | | |
| |||
0 commit comments