MCPcopy Create free account
hub / github.com/ByBrawe/opencode-loop / escapeRegExp

Function escapeRegExp

src/index.js:109–111  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

107 let input = stripOuterQuotes(String(raw || "").trim());
108 let first = "";
109 let rest = input;
110 let intervalMs = defaults.intervalMs ?? null;
111 if (!input && defaults.action) {
112 rest = defaults.action;
113 } else {
114 [first, rest] = splitFirst(input);

Callers 2

takeFlagFunction · 0.85
takeFlagValueFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected