Skip to content

Commit

Permalink
Fixes #148
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Jun 5, 2014
1 parent 607484b commit cbc9452
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("/^[\n\-+:?#~'\/\(\)_,!. a-zA-Z0-9]+$/m",$value);
return preg_match("/^[\s\n\-+:?#~'\/\(\)_,!.a-zA-Z0-9\pL\pN_-]+$/um",$value);
});

0 comments on commit cbc9452

Please sign in to comment.