mirror of
https://github.com/e107inc/e107.git
synced 2025-07-30 19:30:25 +02:00
validator - regexp case added (regex alias)
This commit is contained in:
@@ -480,6 +480,7 @@ class e_validator
|
||||
return true;
|
||||
break;
|
||||
|
||||
case 'regexp':
|
||||
case 'regex':
|
||||
if(!preg_match($cond, $value))
|
||||
{
|
||||
|
Reference in New Issue
Block a user