Updated Validation
This commit is contained in:
parent
472eb9cf46
commit
9b03696cba
|
|
@ -15,7 +15,7 @@ class AlphaNumericSpace implements Rule
|
|||
*/
|
||||
public function passes($attribute, $value)
|
||||
{
|
||||
return preg_match('/^[a-zA-Z0-9\s]+$/', $value);
|
||||
return preg_match('/[a-zA-Z0-9\s]+/', $value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue