MCPcopy
hub / github.com/ollm/OpenComic / pregQuote

Function pregQuote

scripts/opencomic.js:604–607  ·  view source on GitHub ↗
(str, delimiter = false)

Source from the content-addressed store, hash-verified

602}
603
604function pregQuote(str, delimiter = false)
605{
606 return (str + '').replace(new RegExp('[.\\\\+*?\\[\\^\\]$(){}=!<>|:\\' + (delimiter || '') + '-]', 'g'), '\\$&');
607}
608
609function mousePosition(e, mode)
610{

Callers 14

loadIndexPageFunction · 0.85
addSepToEndFunction · 0.85
returnTextPathFunction · 0.85
headerPathFunction · 0.85
indexPathControlFunction · 0.85
fileFunction · 0.85
fileCompressedFunction · 0.85
deleteFromSortAndViewFunction · 0.85
searchFunction · 0.85
_indexFilesFunction · 0.85
indexFilesFunction · 0.85
findReadingProgressPathsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected