0
mirror of https://github.com/XTLS/Xray-core.git synced 2025-06-20 06:58:38 +03:00

Merge branch 'dns' into dns-geo

This commit is contained in:
秋のかえで
2021-05-01 08:48:29 +08:00
12 changed files with 910 additions and 48 deletions

View File

@ -27,6 +27,7 @@ const (
// New creates a new Matcher based on the given pattern.
func (t Type) New(pattern string) (Matcher, error) {
// 1. regex matching is case-sensitive
switch t {
case Full:
return fullMatcher(pattern), nil