(s: string)
| 36 | |
| 37 | // Escape characters that have a special meaning in Regular Expressions |
| 38 | export function escapeRegExp(s: string): string { |
| 39 | return s.replace(/([.*+?^=!:${}()|[\]\/\\])/g, '\\$1'); |
| 40 | } |
| 41 | |
| 42 | export type Byte = number; |
| 43 |
no test coverage detected