(value: string)
| 550 | } |
| 551 | |
| 552 | function normalizeTextForMatch(value: string): string { |
| 553 | return value |
| 554 | .replace(/\u00a0/g, " ") |
| 555 | .replace(/[ \t\r\n\f]+/g, " ") |
| 556 | .trim(); |
| 557 | } |
| 558 | |
| 559 | function isCollapsibleWhitespaceChar(char: string): boolean { |
| 560 | return char === " " || char === "\n" || char === "\r" || char === "\t" || char === "\f" || char === "\u00a0"; |
no outgoing calls
no test coverage detected