Skip to content

Commit

Permalink
Added unicode support
Browse files Browse the repository at this point in the history
  • Loading branch information
vekexasia committed Sep 15, 2016
1 parent 7a8f577 commit c35bf11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -3,7 +3,7 @@

public class AlphaNumericValidator extends RegexpValidator {
public AlphaNumericValidator(String message) {
super(message, "[a-zA-Z0-9 \\./-]*");
super(message, "[a-zA-Z0-9\u00C0-\u00FF \\./-\\?]*");
}

}
Expand Up @@ -2,6 +2,6 @@

public class AlphaValidator extends RegexpValidator {
public AlphaValidator(String message) {
super(message, "[A-z\u00C0-\u00ff \\./-]*");
super(message, "[A-z\u00C0-\u00ff \\./-\\?]*");
}
}

0 comments on commit c35bf11

Please sign in to comment.