MCPcopy
hub / github.com/vercel-labs/just-bash / replace

Method replace

packages/just-bash/src/regex/user-regex.ts:30–30  ·  view source on GitHub ↗
(input: string, replacement: string | ReplaceCallback)

Source from the content-addressed store, hash-verified

28 exec(input: string): RegExpExecArray | null;
29 match(input: string): RegExpMatchArray | null;
30 replace(input: string, replacement: string | ReplaceCallback): string;
31 split(input: string, limit?: number): string[];
32 search(input: string): number;
33 matchAll(input: string): IterableIterator<RegExpMatchArray>;

Callers 15

addImpliedImportsFunction · 0.65
compileTypeScriptBlocksFunction · 0.65
normalizeScriptFunction · 0.65
test-commands.tsFile · 0.65
normalizeOutputFunction · 0.65
cleanTestNameFunction · 0.65
tryParseBuiltinStyleTestFunction · 0.65
tryParseMultiLineAwkTestFunction · 0.65
cleanTestNameFunction · 0.65
_tryParsePipedInputTestFunction · 0.65

Implementers 2

UserRegexpackages/just-bash/src/regex/user-rege
ConstantRegexpackages/just-bash/src/regex/user-rege

Calls

no outgoing calls

Tested by 6

addImpliedImportsFunction · 0.52
compileTypeScriptBlocksFunction · 0.52
truncateCommandFunction · 0.52
truncateCommandFunction · 0.52
writeParsedJsonFunction · 0.52