mirror of
https://github.com/e107inc/e107.git
synced 2025-04-22 05:31:58 +02:00
validator - regexp case added (regex alias)
This commit is contained in:
parent
a5661bf40e
commit
eb057e6492
@ -480,6 +480,7 @@ class e_validator
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'regexp':
|
||||
case 'regex':
|
||||
if(!preg_match($cond, $value))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user