Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Validate that email is well-formed.

        def validateEmail(email):
    """ Validate that email is well-formed."""
    if len(email) > 7:
        if re.match("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$", email) != None:
            return True
    return False
        


src/p/y/python-omhe-0.6.1/omhe/core/validators/sbp_validator.py   python-omhe(Download)
import re,sys
from validator_errors import *
from utils import validateEmail
 
def sbp_validator(omhe_value):
    valdict={}
    if validateEmail(omhe_value):

src/p/y/python-omhe-HEAD/omhe/core/validators/sbp_validator.py   python-omhe(Download)
import re,sys
from validator_errors import *
from utils import validateEmail
 
def sbp_validator(omhe_value):
    valdict={}
    if validateEmail(omhe_value):