added nis_recipient

This commit is contained in:
Roland Gruber 2005-01-04 20:14:48 +00:00
parent 11ab755afc
commit 520d97be03
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}