github.com/iikira/iikira-go-utils@v0.0.0-20230610031953-f2cb11cde33a/utils/regexp_pre.go (about) 1 package utils 2 3 import ( 4 "regexp" 5 ) 6 7 var ( 8 // HTTPSRE https regexp 9 HTTPSRE = regexp.MustCompile("^https") 10 // ChinaPhoneRE https regexp 11 ChinaPhoneRE = regexp.MustCompile(`^(\+86)?1[3-9][0-9]\d{8}$`) 12 )