MCPcopy Index your code
hub / github.com/github/copilot-sdk / escapeRegExp

Function escapeRegExp

scripts/codegen/typescript.ts:129–131  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

127}
128
129function escapeRegExp(value: string): string {
130 return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
131}
132
133function experimentalDefinitionNames(definitions: DefinitionCollections): Set<string> {
134 const names = new Set<string>();

Callers 1

annotateTypeScriptTypesFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…