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

Method split

packages/just-bash/src/regex/user-regex.ts:31–31  ·  view source on GitHub ↗
(input: string, limit?: number)

Source from the content-addressed store, hash-verified

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>;
34 readonly native: RegExp;

Callers 15

compileTypeScriptBlocksFunction · 0.65
readme.test.tsFile · 0.65
normalizeScriptFunction · 0.65
parseSpecFileFunction · 0.65
parseHeaderLineFunction · 0.65
normalizeOutputFunction · 0.65
tryParseMultiLineAwkTestFunction · 0.65
parseAwkTestFileFunction · 0.65
tryParseHeredocTestsFunction · 0.65
truncateProgramFunction · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 5

compileTypeScriptBlocksFunction · 0.52
truncateProgramFunction · 0.52
truncateScriptFunction · 0.52
parseJsonLinesFunction · 0.52
formatDiagnosticsFunction · 0.52