added nis_recipient
This commit is contained in:
parent
11ab755afc
commit
520d97be03
|
@ -503,6 +503,9 @@ function get_preg($argument, $regexp) {
|
|||
$pregexpr = '/^[0-9a-zA-Z_-]+(\\.[0-9a-zA-Z_-]+)*$/';
|
||||
break;
|
||||
case 'nis_alias':
|
||||
$pregexpr = '/^([[:alnum:]])+$/u';
|
||||
break;
|
||||
case 'nis_recipient':
|
||||
$pregexpr = '/^([[:alnum:]@\\.\\ \\_-])+$/u';
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue