(t,n)
| 123 | ;if("object"!=typeof e.endScope||null===e.endScope)throw W("endScope must be object"), |
| 124 | K;F(e,e.end,{key:"endScope"}),e.end=m(e.end,{joinWith:""})}})(e)}function V(e){ |
| 125 | function t(t,n){ |
| 126 | return RegExp(l(t),"m"+(e.case_insensitive?"i":"")+(e.unicodeRegex?"u":"")+(n?"g":"")) |
| 127 | }class n{constructor(){ |
| 128 | this.matchIndexes={},this.regexes=[],this.matchAt=1,this.position=0} |
| 129 | addRule(e,t){ |
| 130 | t.position=this.position++,this.matchIndexes[this.matchAt]=t,this.regexes.push([t,e]), |