Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/node-js-libs/node.io
/ escape
Function
escape
lib/node.io/io.js:516–518 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
514
515
//Escape special regex chars
516
var
d, escape =
function
(str) {
517
return
str.replace(
new
RegExp(
'[.*+?|()\\[\\]{}]'
,
'g'
),
'\\$&'
);
518
}
519
520
d = escape(delim);
521
e = escape(quote_escape);
Callers
1
io.js
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected