We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 66cd13b + 6ccd5e1 commit 7a8f1d6Copy full SHA for 7a8f1d6
src/SimpleValidator/Validator.php
@@ -280,11 +280,11 @@ protected static function float($input) {
280
}
281
282
protected static function alpha($input) {
283
- return (preg_match("#^[a-zA-Z]+$#", $input) == 1);
+ return (preg_match("#^[a-zA-ZÀ-ÿ]+$#", $input) == 1);
284
285
286
protected static function alpha_numeric($input) {
287
- return (preg_match("#^[a-zA-Z0-9]+$#", $input) == 1);
+ return (preg_match("#^[a-zA-ZÀ-ÿ0-9]+$#", $input) == 1);
288
289
290
protected static function ip($input) {
0 commit comments