(title)
| 250 | // ============================================================================ |
| 251 | |
| 252 | function parsePrType(title) { |
| 253 | const match = String(title || "").trim().match(/^([a-z]+)(?:\([^)]+\))?!?:/i); |
| 254 | return match ? match[1].toLowerCase() : ""; |
| 255 | } |
| 256 | |
| 257 | function isLowRiskPath(filePath) { |
| 258 | const normalized = normalizePath(filePath); |