added another date check
This commit is contained in:
parent
0ece5926f3
commit
ba02c8a176
|
@ -440,6 +440,9 @@ function get_preg($argument, $regexp) {
|
|||
case 'date':
|
||||
$pregexpr = '/^((0?[1-9])|([1-2][0-9])|30|31)\\-((0?[1-9])|(1[0-2]))\\-[1-3][0-9][0-9][0-9]$/';
|
||||
break;
|
||||
case 'date2':
|
||||
$pregexpr = '/^((0[1-9])|([1-2][0-9])|30|31)\\.((0[1-9])|(1[0-2]))\\.[1-3][0-9][0-9][0-9]$/';
|
||||
break;
|
||||
case 'sambaLogonHours':
|
||||
$pregexpr = '/^[0-9a-fA-F]{42}$/';
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue