MCPcopy Index your code
hub / github.com/nodejs/node / getRegexFromPattern

Function getRegexFromPattern

test/fixtures/snapshot/typescript.js:20643–20645  ·  view source on GitHub ↗
(pattern, useCaseSensitiveFileNames)

Source from the content-addressed store, hash-verified

20641 }
20642 ts.getFileMatcherPatterns = getFileMatcherPatterns;
20643 function getRegexFromPattern(pattern, useCaseSensitiveFileNames) {
20644 return new RegExp(pattern, useCaseSensitiveFileNames ? "" : "i");
20645 }
20646 ts.getRegexFromPattern = getRegexFromPattern;
20647 /** @param path directory of the tsconfig.json */
20648 function matchFiles(path, extensions, excludes, includes, useCaseSensitiveFileNames, currentDirectory, depth, getFileSystemEntries, realpath) {

Callers 1

matchFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected