摘要: 1 func VerifyEmailFormat(email string) bool { 2 pattern := `\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*` //匹配电子邮箱 3 reg := regexp.MustCompile(pattern) 4 return reg.MatchString(email) ... 阅读全文
posted @ 2018-12-05 18:02 追逐~~~ 阅读(6868) 评论(0) 推荐(0) 编辑