def validateEmail(email):
    if len(email) > 7:
        if re.match("^.+\\@(\\[?)[a-zA-Z0-9\\-\\.]+\\.([a-zA-Z]{2,3}|[0-9]{1,3})(\\]?)$", email) != None:
            return 1
    return 0
Create a SegmentedMNLDiscreteChoiceModel instance from a saved YAML
dataset/ETHPy150Open fp7-ofelia/ocf/optin_manager/src/python/openflow/optin_manager/admin_manager/helper.py/validateEmail--crossover with--dataset/ETHPy150Open UDST/urbansim/urbansim/models/dcm.py/SegmentedMNLDiscreteChoiceModel.from_yaml