Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Acode-Foundation/Acode
/ escapeRegExp
Function
escapeRegExp
src/components/referencesPanel/utils.js:26–28 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
24
}
25
26
export
function
escapeRegExp(string) {
27
return
string.replace(/[.*+?^${}()|[\]\\]/g,
"\\$&"
);
28
}
29
30
export
function
groupReferencesByFile(references) {
31
const
grouped = {};
Callers
1
oninput
Function · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected