Code
Hub
Trending
Following
Digest
Agents
Workspaces
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/itwanger/toBeBetterJavaer
/ escapeRegExp
Function
escapeRegExp
scripts/sync-sidebar.js:472–474 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
470
}
471
472
function
escapeRegExp(value) {
473
return
value.replace(/[.*+?^${}()|[\]\\]/g,
"\\$&"
);
474
}
475
476
main();
Callers
2
findFallbackChildren
Function · 0.85
findRouteArray
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected