This content has been marked as final.
Show 1 reply
-
1. Re: Bean Validation, @Pattern, and CSV
nbelaevski Oct 19, 2011 4:17 PM (in response to bleathem)Hi Brian,
According to http://download.oracle.com/javaee/6/api/javax/validation/constraints/Pattern.html , it checks for match, not contains, so IMHO client-side validation seems to be wrong.
Here is the simple program: http://pastebin.com/Qv8K3hs7 that prints:
asb1 matches: true contains: true
1asb matches: false contains: true
asb matches: true contains: true