MCPcopy
hub / github.com/di-sukharev/opencommit / checkPattern

Function checkPattern

out/cli.cjs:64418–64418  ·  view source on GitHub ↗
(pattern)

Source from the content-addressed store, hash-verified

64416 (prev, current) => prev.replace(current[0], current[1].bind(pattern)),
64417 pattern
64418 );
64419 regexCache[pattern] = source;
64420 }
64421 return ignoreCase ? new RegExp(source, "i") : new RegExp(source);

Callers 1

_addPatternMethod · 0.85

Calls 2

isString2Function · 0.85
testMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…