vekexasia / android-edittext-validator

Android form edit text is an extension of EditText that brings data validation facilities to the edittext.
MIT License
1.45k stars 378 forks source link

alphaNumeric doesn't support accents or ñ, etc #23

Closed druidamix closed 9 years ago

druidamix commented 10 years ago

HI,

It would be good if it support iso-8859-1 or more.

Thanks.

vekexasia commented 10 years ago

hmm I don't have a clue on how to express all those characters as a regexp. Anyone?

mikeringrose commented 9 years ago

This should do the trick -- [A-z\u00C0-\u00ff].

vekexasia commented 9 years ago

This was merged. Thank you :)