Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/date-fns/date-fns
/ cleanEscapedString
Function
cleanEscapedString
pkgs/core/src/format/index.ts:444–452 ·
view source on GitHub ↗
(input: string)
Source
from the content-addressed store, hash-verified
442
}
443
444
function
cleanEscapedString(input: string): string {
445
const
matched = input.match(escapedStringRegExp);
446
447
if
(!matched) {
448
return
input;
449
}
450
451
return
matched[1].replace(doubleQuoteRegExp,
"'"
);
452
}
Callers
1
format
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected