getValidationOption('strict_checking') == true) $domain = "$sub_domain(\\x2e$sub_domain)*"; */ $local_part = "$word(\\x2e$word)*"; $addr_spec = "$local_part\\x40$domain"; return (bool)preg_match("!^$addr_spec$!", $value); } }