Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/codeaashu/claude-code
/ escapeRegex
Function
escapeRegex
web/components/file-viewer/SearchBar.tsx:248–250 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
246
}
247
248
function escapeRegex(str: string): string {
249
return str.replace(/[.*+?^${}()|[\]\\]/g,
"\\$&"
);
250
}
Callers
1
SearchBar
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected