MCPcopy Index your code
hub / github.com/angular/angularfire / escapeRegExp

Function escapeRegExp

src/schematics/deploy/actions.ts:59–59  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

57export type DeployBuilderOptions = DeployBuilderSchema & Record<string, any>;
58
59const escapeRegExp = (str: string) => str.replace(/[-[\]/{}()*+?.\\^$|]/g, '\\$&');
60
61const moveSync = (src: string, dest: string) => {
62 copySync(src, dest);

Callers 1

findPackageVersionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected