Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TGX-Android/Publisher
/ escapeRegExp
Function
escapeRegExp
main.js:276–278 ·
view source on GitHub ↗
(string)
Source
from the content-addressed store, hash-verified
274
}
275
276
function
escapeRegExp (string) {
277
return
string.replace(/[.*+?^${}()|[\]\\]/g,
'\\$&'
);
278
}
279
280
function
empty (obj) {
281
if
(typeof obj ===
'object'
) {
Callers
1
getBuildFiles
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected