(str: string)
| 27 | * Escapes all required characters for safe usage inside a RegExp |
| 28 | */ |
| 29 | export function escapeForRegExp(str: string): string { |
| 30 | return str.replace(regex, '\\$&'); |
| 31 | } |
| 32 | |
| 33 | /** |
| 34 | * Converts all '\' in @path to unix style '/' |
no outgoing calls
no test coverage detected
searching dependent graphs…