MCPcopy Create free account
hub / github.com/estools/esquery / peg$c78

Function peg$c78

parser.js:253–255  ·  view source on GitHub ↗
(d, flgs)

Source from the content-addressed store, hash-verified

251 peg$c76 = /^[^\/]/,
252 peg$c77 = peg$classExpectation(["/"], true, false),
253 peg$c78 = function(d, flgs) { return {
254 type: 'regexp', value: new RegExp(d.join(''), flgs ? flgs.join('') : '') };
255 },
256 peg$c79 = function(i, is) {
257 return { type: 'field', name: is.reduce(function(memo, p){ return memo + p[0] + p[1]; }, i)};
258 },

Callers 1

peg$parseregexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected