:master:
function checkMail( $m ) {
// andr3a / HTML.IT / caruccis
$r1 = "([a-z0-9]+[";
$r2 = "\-]?){1,3}([a-z0-9])*";
return preg_match("/(?i)^{$r1}\._{$r2}\@{$r1}\.{$r2}\.[a-z]{2,6}$/", $m);
}
:master:
function checkMail( $m ) {
// andr3a / HTML.IT / caruccis
$r1 = "([a-z0-9]+[";
$r2 = "\-]?){1,3}([a-z0-9])*";
return preg_match("/(?i)^{$r1}\._{$r2}\@{$r1}\.{$r2}\.[a-z]{2,6}$/", $m);
}