MCPcopy Create free account
hub / github.com/Noumena-Network/code / normalizeReplText

Function normalizeReplText

src/testing/replContractHarness.ts:33–35  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

31}
32
33export function normalizeReplText(text: string): string {
34 return text.replace(/\s+/g, ' ').trim()
35}
36
37export function parseMatchCounter(text: string): MatchCounter | null {
38 const match = text.match(/\b(\d+)\/(\d+)\b/)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected