MCPcopy Create free account
hub / github.com/Useful-Scripts-Extension/useful-script / exec

Method exec

pages/viewScriptSource/libs/highlight.min.js:132–135  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

130this.matchAt+=b(e)+1}compile(){0===this.regexes.length&&(this.exec=()=>null)
131;const e=this.regexes.map((e=>e[1]));this.matcherRe=t(E(e,{joinWith:"|"
132}),!0),this.lastIndex=0}exec(e){this.matcherRe.lastIndex=this.lastIndex
133;const t=this.matcherRe.exec(e);if(!t)return null
134;const n=t.findIndex(((e,t)=>t>0&&void 0!==e)),i=this.matchIndexes[n]
135;return t.splice(0,n),Object.assign(t,i)}}class i{constructor(){
136this.rules=[],this.multiRegexes=[],
137this.count=0,this.lastIndex=0,this.regexIndex=0}getMatcher(e){
138if(this.multiRegexes[e])return this.multiRegexes[e];const t=new n

Callers 15

bFunction · 0.45
EFunction · 0.45
execMethod · 0.45
lFunction · 0.45
pFunction · 0.45
wFunction · 0.45
initCacheFunction · 0.45
getFbProfileFunction · 0.45
extractUidFunction · 0.45
extractTimeFunction · 0.45
extractEventNameFunction · 0.45
extractTotalCountFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected