(text: string)
| 426 | |
| 427 | export const WhitespaceNormalizedReplacer: Replacer = function* (content, find) { |
| 428 | const normalizeWhitespace = (text: string) => text.replace(/\s+/g, " ").trim() |
| 429 | const normalizedFind = normalizeWhitespace(find) |
| 430 | |
| 431 | // Handle single line matches |