MCPcopy Create free account
hub / github.com/box/Anemometer / combinePrefixPatterns

Function combinePrefixPatterns

js/prettify.js:240–471  ·  view source on GitHub ↗

* Given a group of RegExps, returns a RegExp that globally * matches the union of the sets of strings matched by the input RegExp. * Since it matches globally, if the input strings have a start-of-input * anchor (/^.../), it is ignored for the purposes of unioning. * @par

(regexs)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

createSimpleLexerFunction · 0.85

Calls 2

joinMethod · 0.80

Tested by

no test coverage detected