diff --git a/lam/lib/account.inc b/lam/lib/account.inc index e02a58bd..3785b996 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -470,10 +470,10 @@ function get_preg($argument, $regexp) { $pregexpr = '/^(\\+)*([0-9\\.\\ \\(\\)\\/-])*$/'; break; case "email": - $pregexpr = '/^([0-9a-z\\._-])+[@]([0-9a-z-])+([.]([0-9a-z-])+)*$/'; + $pregexpr = '/^([0-9a-zA-Z\\._-])+[@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*$/'; break; case "mailLocalAddress": - $pregexpr = '/^([0-9a-z\\._-])+([@]([0-9a-z-])+([.]([0-9a-z-])+)*)?$/'; + $pregexpr = '/^([0-9a-zA-Z\\._-])+([@]([0-9a-zA-Z-])+([.]([0-9a-zA-Z-])+)*)?$/'; break; case "postalAddress": // Allow all but \, <, >, =, $, ? case "postalCode":