fixed ne regexpr

This commit is contained in:
katagia 2004-09-28 16:44:33 +00:00
parent 174539d53f
commit c58e2ba0ea
1 changed files with 1 additions and 1 deletions

View File

@ -448,7 +448,7 @@ function get_preg($argument, $regexp) {
$pregexpr = '/^(\\+)*([0-9\\.\\ \\(\\)\\/-])*$/';
break;
case "email":
$pregexpr = '^(([0-9a-z\\._-])+[@]([0-9a-z-])+([.]([0-9a-z-])+)*)*$';
$pregexpr = '/^(([0-9a-z\\._-])+[@]([0-9a-z-])+([.]([0-9a-z-])+)*)*$/';
break;
case "street": // Allow all letters, numbers, space and .-_
$pregexpr = '/^([[:alnum:]\\.\\ \\_-])*$/';