(value: string)
| 25 | * new RegExp(E).test(V) === true. |
| 26 | */ |
| 27 | export function escapeForRegex(value: string): string { |
| 28 | // '$&' in a regex replacement indicates the last match. |
| 29 | return value.replace(REGEXP_ESCAPE_CHARS, '\\$&'); |
| 30 | } |
| 31 | |
| 32 | /** |
| 33 | * Processes text from left-to-right, splitting it into pieces based on the |
no test coverage detected
searching dependent graphs…