feat: add DOMAIN-REGEX rule

This commit is contained in:
xishang0128
2024-03-07 23:32:07 +08:00
parent fad1a08378
commit 234a4bfc93
3 changed files with 48 additions and 1 deletions

View File

@@ -5,6 +5,7 @@ const (
Domain RuleType = iota
DomainSuffix
DomainKeyword
DomainRegex
GEOSITE
GEOIP
IPCIDR
@@ -40,6 +41,8 @@ func (rt RuleType) String() string {
return "DomainSuffix"
case DomainKeyword:
return "DomainKeyword"
case DomainRegex:
return "DomainRegex"
case GEOSITE:
return "GeoSite"
case GEOIP: