(params, regex)
| 423 | } |
| 424 | |
| 425 | function getManualProxiesByRegex(params, regex) { |
| 426 | const matchedProxies = params.proxies.filter((e) => regex.test(e.name)).map((e) => e.name); |
| 427 | return matchedProxies.length > 0 ? matchedProxies : ["DIRECT", "手动选择", proxyName]; |
| 428 | } |
no outgoing calls
no test coverage detected