(s)
| 20603 | (this.regexIndex = 0)) |
| 20604 | } |
| 20605 | getMatcher(s) { |
| 20606 | if (this.multiRegexes[s]) return this.multiRegexes[s] |
| 20607 | const o = new MultiRegex() |
| 20608 | return ( |
| 20609 | this.rules.slice(s).forEach(([s, i]) => o.addRule(s, i)), |
| 20610 | o.compile(), |
| 20611 | (this.multiRegexes[s] = o), |
| 20612 | o |
| 20613 | ) |
| 20614 | } |
| 20615 | resumingScanAtSamePosition() { |
| 20616 | return 0 !== this.regexIndex |
| 20617 | } |