github.com/fzfile/BaiduPCS-Go@v0.0.0-20200606205115-4408961cf336/pcsutil/regexp_pre.go (about)

     1  package pcsutil
     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  )