Wixel / GUMP

A fast, extensible & stand-alone PHP input validation class that allows you to validate any data
https://wixelhq.com
MIT License
1.17k stars 341 forks source link

alpha_dash filter does not accept numbers ! #287

Closed fadouaBelhabib closed 4 years ago

fadouaBelhabib commented 5 years ago

Hello,

Using the last version (1.5.7), the alpha_dash filter does not allow numbers in the provided string :

myValidator.yml :

fileName: 'alpha_dash|required'

Thanx.

IbrahimTanyalcin commented 4 years ago

I was just gonna open the same issue. This is correct. The naming convention is correct 'alpha_dash', intuitively implying letters + dash. Either:

filisko commented 4 years ago

Just updated the docs. Feel free to PR for alpha_numeric_dash validator @IbrahimTanyalcin