update
This commit is contained in:
@@ -440,7 +440,7 @@ class Validator extends UserValidator {
|
||||
|
||||
$pattern = "^[a-zA-Z0-9_<39><5F><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>桦<EFBFBD><E6A1A6><EFBFBD>Ư<EFBFBD><C6AF> \+\-]$len$";
|
||||
//!@\$%\*\(\)\^\-
|
||||
if(strlen($value)>=3 && strlen($value)<=15 && ereg($pattern,$value,$matches)) {
|
||||
if(strlen($value)>=3 && strlen($value)<=15 && preg_match('/' . str_replace('/', '\\/', $pattern) . '/', $value, $matches)) {
|
||||
//var_dump($matches);
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user