(source: string)
| 26 | export const SYSTEM_PREFIX = 'sys://'; |
| 27 | |
| 28 | export function escapeRegexSymbols(source: string): string { |
| 29 | const escapeRegex = /[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g; |
| 30 | |
| 31 | return source.replace(escapeRegex, '\\$&'); |
| 32 | } |
| 33 | |
| 34 | export function convertString(value: any): any { |
| 35 | let result; |
no test coverage detected