Skip to content

Commit

Permalink
Added + character to the CompleteValidator
Browse files Browse the repository at this point in the history
  • Loading branch information
micheleangioni committed Jun 29, 2016
1 parent b39e641 commit 6c9c27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MicheleAngioni/Support/CustomValidators.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class CustomValidators extends \Illuminate\Validation\Validator
*/
public function validateAlphaComplete($attribute, $value)
{
return preg_match('/^([-\p{L}*0-9_!.,:\/;\\?&\(\)\[\]\{\}\'\"\s])+$/u', $value);
return preg_match('/^([-\p{L}*0-9_+!.,:\/;\\?&\(\)\[\]\{\}\'\"\s])+$/u', $value);
}

/**
Expand Down

0 comments on commit 6c9c27b

Please sign in to comment.