(str: string, searchValue: string, replaceValue: string)
| 1492 | } |
| 1493 | |
| 1494 | export function replaceAll(str: string, searchValue: string, replaceValue: string): string { |
| 1495 | const pattern: string = escapeStringForRegex(searchValue); |
| 1496 | const re: RegExp = new RegExp(pattern, 'g'); |
| 1497 | return str.replace(re, replaceValue); |
| 1498 | } |
| 1499 | |
| 1500 | export interface ISshHostInfo { |
| 1501 | hostName: string; |
no test coverage detected