(e)
| 586 | (this.regexIndex = 0); |
| 587 | } |
| 588 | getMatcher(e) { |
| 589 | if (this.multiRegexes[e]) return this.multiRegexes[e]; |
| 590 | const n = new t(); |
| 591 | return ( |
| 592 | this.rules.slice(e).forEach(([e, t]) => n.addRule(e, t)), |
| 593 | n.compile(), |
| 594 | (this.multiRegexes[e] = n), |
| 595 | n |
| 596 | ); |
| 597 | } |
| 598 | resumingScanAtSamePosition() { |
| 599 | return 0 != this.regexIndex; |
| 600 | } |