diff --git a/lam/lib/account.inc b/lam/lib/account.inc index f264f27a..a38e5012 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -466,7 +466,7 @@ function get_preg($argument, $regexp) { $pregexpr = '/^[a-zA-Z]([a-zA-Z0-9\\.\\_-])*\\$$/u'; break; case 'realname': // Allow all letters, space and .-_ - $pregexpr = '/^[[:alpha:]]([[:alpha:]\\.\\ \\_-])*$/u'; + $pregexpr = '/^[[:alnum:]]([[:alnum:]\\.\\ \\_-])*$/u'; break; case "telephone": // Allow numbers, space, brackets, /-+. $pregexpr = '/^(\\+)*([0-9\\.\\ \\(\\)\\/-])*$/';