Back to project page android-edittext-validator.
The source code is released under:
MIT License
If you think the Android project android-edittext-validator listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.andreabaccega.formedittextvalidator; public class PersonNameValidator extends RegexpValidator { public PersonNameValidator(String message) { // will allow people with hyphens in his name or surname. Supports also unicode super(message, "[\\p{L}-]+"); } }