rickharrison / validate.js

Lightweight JavaScript form validation library inspired by CodeIgniter.
http://rickharrison.github.io/validate.js
Other
2.56k stars 406 forks source link

Can't validate field containing accents with rule alpha #182

Open glevoux opened 8 years ago

glevoux commented 8 years ago

I suggest you replace alpha regex by this one /^[a-z\u00C0-\u017F]+$/i to validate fields containing accents or just add a new rule like 'alpha_accents'

rickharrison commented 8 years ago

Pull request would be much appreciated.