Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colbymchenry/codegraph
/ escapeRegExp
Function
escapeRegExp
src/directory.ts:200–202 ·
view source on GitHub ↗
(s: string)
Source
from the content-addressed store, hash-verified
198
}
199
200
function
escapeRegExp(s: string): string {
201
return
s.replace(/[.*+?^${}()|[\]\\]/g,
'\\$&'
);
202
}
203
204
/**
205
* Indexed sub-project roots beneath `root` (bounded breadth-first scan). For
Callers
1
planFrontload
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected