added \"$\" to home directory regex

This commit is contained in:
Roland Gruber 2005-01-22 10:57:48 +00:00
parent e8f9e08f06
commit e6beeaa933
1 changed files with 1 additions and 1 deletions

View File

@ -464,7 +464,7 @@ function get_preg($argument, $regexp) {
$pregexpr = '/^([[:alnum:]\\.\\ \\_-])*$/u';
break;
case "homeDirectory": // Homapath, /path/......
$pregexpr = '/^([\/]([[:alnum:]\\.\\ \\_-])+)+$/u';
$pregexpr = '/^([\/]([[:alnum:]\\$\\.\\ \\_-])+)+$/u';
break;
case "digit": // Normal number
$pregexpr = '/^[[:digit:]]*$/';