(text: string)
| 386 | |
| 387 | export const WhitespaceNormalizedReplacer: Replacer = function* (content, find) { |
| 388 | const normalizeWhitespace = (text: string) => text.replace(/\s+/g, " ").trim() |
| 389 | const normalizedFind = normalizeWhitespace(find) |
| 390 | |
| 391 | // Handle single line matches |