fix: proxy-groups filter logic
This commit is contained in:
@ -29,8 +29,9 @@ func getProvidersProxies(providers []provider.ProxyProvider, touch bool, filter
|
||||
//filterReg = regexp.MustCompile(filter)
|
||||
filterReg = regexp2.MustCompile(filter, 0)
|
||||
for _, p := range proxies {
|
||||
if p.Type() < 8 {
|
||||
if p.IsProxyGroup() {
|
||||
matchedProxies = append(matchedProxies, p)
|
||||
continue
|
||||
}
|
||||
|
||||
//if filterReg.MatchString(p.Name()) {
|
||||
|
Reference in New Issue
Block a user