Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/scottrogowski/code2flow
/ regexEscape
Function
regexEscape
tests/test_code/js/moment/moment.js:822–824 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
820
}
821
822
function
regexEscape(s) {
823
return
s.replace(/[-\/\\^$*+?.()|[\]{}]/g,
'\\$&'
);
824
}
825
826
var
tokens = {};
827
Callers
4
unescapeFormat
Function · 0.85
computeMonthsParse
Function · 0.85
computeWeekdaysParse
Function · 0.85
computeErasParse
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected