(str: string)
| 32 | } |
| 33 | |
| 34 | function escapeRegExp(str: string): string { |
| 35 | return str.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
| 36 | } |
| 37 | |
| 38 | function buildUnionPattern(parts: string[] | undefined): RegExp | null { |
| 39 | if (!parts || parts.length === 0) return null; |
nothing calls this directly
no outgoing calls
no test coverage detected