MCPcopy Create free account
hub / github.com/Azure/static-web-apps-cli / exec

Method exec

e2e/samples/app/mdbook/theme/highlight.js:508–513  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

506 this.rules.push([e, n]), "begin" === n.type && this.count++;
507 }
508 exec(e) {
509 const n = this.getMatcher(this.regexIndex);
510 n.lastIndex = this.lastIndex;
511 const t = n.exec(e);
512 return t && ((this.regexIndex += t.position + 1), this.regexIndex === this.count && (this.regexIndex = 0)), t;
513 }
514 }
515 function i(e, n) {
516 const t = e.input[e.index - 1],

Callers

nothing calls this directly

Calls 2

getMatcherMethod · 0.95
execMethod · 0.45

Tested by

no test coverage detected