Comply with go regexp & user defined regular expression prefix (#164)

To avoid further confusion like this: https://github.com/v2fly/domain-list-community/issues/163
This commit is contained in:
Loyalsoldier authored and GitHub committed 2020-08-19 20:44:54 +08:00
1 parent f587eaeb04
commit a98b29b562
11 files changed
+30 -28

No files matched your search

+1 -1
View File
@@ -70,7 +70,7 @@ func (l *ParsedList) toProto() (*router.GeoSite, error) {
Value: entry.Value,
Attribute: entry.Attrs,
})
case "regex":
case "regexp":
site.Domain = append(site.Domain, &router.Domain{
Type: router.Domain_Regex,
Value: entry.Value,