MCPcopy Create free account
hub / github.com/danvk/webdiff / resumingScanAtSamePosition

Method resumingScanAtSamePosition

webdiff/static/js/highlight.min.js:141–142  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

139if(this.multiRegexes[e])return this.multiRegexes[e];const t=new a
140;return this.rules.slice(e).forEach((([e,a])=>t.addRule(e,a))),
141t.compile(),this.multiRegexes[e]=t,t}resumingScanAtSamePosition(){
142return 0!==this.regexIndex}considerAll(){this.regexIndex=0}addRule(e,t){
143this.rules.push([e,t]),"begin"===t.type&&this.count++}exec(e){
144const t=this.getMatcher(this.regexIndex);t.lastIndex=this.lastIndex
145;let a=t.exec(e)

Callers 1

execMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected