added \"$\" to home directory regex
This commit is contained in:
parent
e8f9e08f06
commit
e6beeaa933
|
@ -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:]]*$/';
|
||||
|
|
Loading…
Reference in New Issue