forked from tangled.org/core
this repo has no description

remove unused func

Changed files
-6
appview
email
-6
appview/email/email.go
···
return true
}
-
-
func IsValidEmailSimple(email string) bool {
-
pattern := `^[a-zA-Z0-9.!#$%&'*+/=?^_\x60{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$`
-
regex := regexp.MustCompile(pattern)
-
return regex.MatchString(email) && len(email) <= 254 && len(email) >= 3
-
}