vlucas/valitron

validateAlphaNum not correct in my opinion

Closed this issue · 0 comments

Hi im using the package for validation and there is a section in my code to add an address.

my logic led me to use your alphaNum function however its not working correctly.

it should be return preg_match('/^([a-zA-Z0-9 ])+$/i', $value);