mirror of
https://github.com/kevin-DL/services.git
synced 2026-01-11 19:04:35 +00:00
ship regexp fix for user email
This commit is contained in:
@@ -23,7 +23,7 @@ const (
|
||||
|
||||
var (
|
||||
alphanum = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
|
||||
emailFormat = regexp.MustCompile("^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$")
|
||||
emailFormat = regexp.MustCompile("^[\\w-\\.\\+]+@([\\w-]+\\.)+[\\w-]{2,4}$")
|
||||
)
|
||||
|
||||
func random(i int) string {
|
||||
|
||||
Reference in New Issue
Block a user