MCPcopy Index your code
hub / github.com/idank/explainshell / p

Function p

explainshell/web/static/js/highlight.min.js:50–50  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

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

Callers 2

FFunction · 0.70
addRuleMethod · 0.70

Calls 1

execMethod · 0.45

Tested by

no test coverage detected