Revert: "fix: proxy-groups filter logic"

This reverts commit 8a85c63b08.
This commit is contained in:
adlyq
2022-04-22 18:55:28 +08:00
parent 8a85c63b08
commit de4341c8cd
17 changed files with 2 additions and 65 deletions

View File

@ -29,10 +29,6 @@ func getProvidersProxies(providers []provider.ProxyProvider, touch bool, filter
//filterReg = regexp.MustCompile(filter)
filterReg = regexp2.MustCompile(filter, 0)
for _, p := range proxies {
if p.IsProxyGroup() {
matchedProxies = append(matchedProxies, p)
continue
}
//if filterReg.MatchString(p.Name()) {
if mat, _ := filterReg.FindStringMatch(p.Name()); mat != nil {