MCPcopy Create free account
hub / github.com/FSoft-AI4Code/HyperAgent / _

Function _

hyperagent-ext/media/scripts/highlight.min.js:49–49  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

47 ;return"object"==typeof n&&n.constructor===Object?(e.splice(e.length-1,1),n):{}
48 })(e);return"("+(n.capture?"":"?:")+e.map((e=>d(e))).join("|")+")"}
49 function _(e){return RegExp(e.toString()+"|").exec("").length-1}
50 const h=/\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./
51 ;function f(e,{joinWith:n}){let t=0;return e.map((e=>{t+=1;const n=t
52 ;let a=d(e),i="";for(;a.length>0;){const e=h.exec(a);if(!e){i+=a;break}

Callers 3

GFunction · 0.70
addRuleMethod · 0.70
yFunction · 0.70

Calls 8

toStringMethod · 0.80
addKeywordMethod · 0.80
mFunction · 0.70
gFunction · 0.70
uFunction · 0.70
bFunction · 0.70
execMethod · 0.45
closeNodeMethod · 0.45

Tested by

no test coverage detected