Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Parana-Games/tinymo
/ replaceAll
Method
replaceAll
src/expression.ts:38–38 ·
view source on GitHub ↗
(input: string, find: string, replace: string)
Source
from the content-addressed store, hash-verified
36
}
37
38
private replaceAll(input: string, find: string, replace: string) {
return
input.replace(
new
RegExp(find.replace(/[.*+?^${}()|[\]\\]/g,
"\\$&"
),
"g"
), replace); }
39
}
Callers
1
addValue
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected