MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / escapeRegex

Function escapeRegex

src/snapshot-tests/normalize.ts:104–106  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

102type TestProgress = { completed: number; failed: number; skipped: number };
103
104function escapeRegex(str: string): string {
105 return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
106}
107
108function parseTestProgressLine(line: string): TestProgress | null {
109 const match = line.match(TEST_PROGRESS_LINE_REGEX);

Callers 1

normalizeSnapshotOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected