Changeset 450 for branches/eli_branch/lib/Validator.inc.php
- Timestamp:
- Dec 18, 2013 7:49:24 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eli_branch/lib/Validator.inc.php
r447 r450 138 138 * @return bool true if value passes regex test 139 139 */ 140 public function checkRegex($val, $regex, $valid_on_match=true )140 public function checkRegex($val, $regex, $valid_on_match=true, $msg='') 141 141 { 142 142 return $valid_on_match ? preg_match($regex, $val) : !preg_match($regex, $val);
Note: See TracChangeset
for help on using the changeset viewer.