MCPcopy Create free account
hub / github.com/ad-si/LuaCAD / p

Function p

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

Source from the content-addressed store, hash-verified

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

Callers 3

ZFunction · 0.85
addRuleMethod · 0.85
highlight.min.jsFile · 0.85

Calls 1

execMethod · 0.45

Tested by

no test coverage detected