// ValidEmail checks the given email for validity
ValidEmail checks the given email for validity
// ValidEmail checks the given email for validity
func ValidEmail(email string) bool {
	emailsOnce.Do(func() {
		emails = regexp.MustCompile(`^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$`)
	})
	return emails.MatchString(email)
}
func ValidEmail ( email string ) bool { emailsOnce . Do ( func ( ) { emails = regexp . MustCompile ( `^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$` ) } ) return emails . MatchString ( email ) }
ValidEmail checks the given email for validity
ValidEmail checks the given email for validity
// source http://emailregex.com/ javascript regex