Skip to content

Commit

Permalink
Added a few more symbols for alpha_space
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Nov 28, 2013
1 parent fbb0b22 commit 33f81ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/validators.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@

Validator::extend('alpha_space', function($attribute,$value,$parameters)
{
return preg_match("/^[-+_,!. a-zA-Z0-9]+$/",$value);
return preg_match("/^[-+:?()_,!. a-zA-Z0-9]+$/",$value);
});

0 comments on commit 33f81ab

Please sign in to comment.