(value: string)
| 1 | import { homedir, userInfo } from "node:os"; |
| 2 | |
| 3 | function escapeRegex(value: string): string { |
| 4 | return value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"); |
| 5 | } |
| 6 | |
| 7 | // Whole-segment match: the key (or its components when split on common |
| 8 | // separators) must BE one of these words, not merely contain them as a |
no outgoing calls
no test coverage detected