<reponame>jasmanysanchez/djflow
email_pattern = "[a-zA-Z0-9\+\.\_\%\-\+]{1,256}"+\
      "\\@"+\
      "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}"+\
      "("+\
      "\\."+\
      "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,25}"+\
      ")+"

def email_es_valido(email):
    import re
    if re.match(email_pattern, email):
        return True
    return False
email_pattern = "[a-zA-Z0-9\+\.\_\%\-\+]{1,256}"+\
      "\\@"+\
      "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,64}"+\
      "("+\
      "\\."+\
      "[a-zA-Z0-9][a-zA-Z0-9\\-]{0,25}"+\
      ")+"

def email_es_valido(email):
    import re
    if re.match(email_pattern, email):
        return True
    return False