From 7546f7efd25a087cc15e73e5d513276ebe2896bc Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 6 Jun 2005 19:24:23 +0000 Subject: [PATCH] fixed regex for Unix workstations --- lam/lib/account.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lam/lib/account.inc b/lam/lib/account.inc index 181218bb..91415019 100644 --- a/lam/lib/account.inc +++ b/lam/lib/account.inc @@ -482,7 +482,7 @@ function get_preg($argument, $regexp) { $pregexpr = '/^([a-z0-9\\.\\_-])+$/'; break; case "unixhost": // Unix hosts - $pregexpr = '/^([a-z0-9\\.\\_-])*$/'; + $pregexpr = '/^([a-z0-9,\\.\\_-])*$/'; break; case 'digit2': // Same as digit but also -1 $pregexpr = '/^(([-][1])|([[:digit:]]*))$/';