Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Script-Hub-Org/Script-Hub
/ escapeRegExp
Function
escapeRegExp
Rewrite-Parser.beta.js:2335–2337 ·
view source on GitHub ↗
(str)
Source
from the content-addressed store, hash-verified
2333
}
2334
2335
function
escapeRegExp(str) {
2336
return
`${str}`.replace(/[.*+?^${}()|[\]\\]/g,
'\\$&'
)
2337
}
2338
2339
function
normalizeArgumentsDescLine(str) {
2340
return
`${str ??
''
}`
Callers
1
rewriteArgumentTagKey
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected