-
Notifications
You must be signed in to change notification settings - Fork 749
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for @Pattern with BeanValidationStrategy #218
Comments
Apparently, the warning should be replaced with an actual implementation. |
As you can see, a regular expression [A-Z0-9._%+-]+@[A-Z0-9.-]+.[A-Z]{2,6}, which is supposed to be an email, results in the following string: %3-肯=41/--1䗤2-橦-:/G=륇-椇/@;..벰//&#20;1-&#15;-.ቇ@─-//텝&#0;Q1ⱓ3:&#30;/&#24;ꎷ@.2L/T.-/0./=//&#11;--A7340.V?&#29;'.;>> ?.N桫./掩M--K鿔3@H&#19;--&#24;7-瀶.2/&#22;얲!.Z>R2<&#0;.DRO7--/.&#27;&#17;&#29;S:/U77_-偎E.8>3茰廔&#16;炑N:.6.!<@;줈.=94PJ&#23;>&#18;見3&#23;I/࣊/&#31;?7.@'?/,.--燒@씜/$#ﱻT-꼼/_-..0캫俟㦛.뵮/☻-ചU꼶⑀W//뉄-.E-O/Y'ᦧ//2.-5.$I.-57桱-1-Ძ>--$0T&#5;//;T./(/I)E6.&#0;&#23;/3.-&#17;嵱J氨9//R/X-.-*&#23;22$&#11;鹽//ȷn&@졸6JT.>W@6/:O&#17;&#3;@-A&#19;E@PH5U/:/M/&#22;-/-1O:⾆/X0&#29;Q.&#21;//:V4T-6&#15;--23膴9-/'&#29;4/&#6;<E2- And also Generex doesn't support ^ and $ patterns. |
You are right... |
There is also Xeger, but it never was released to Maven. One way could be adding Generex as a dependency any way and then encourage people to file issues to it and also do PR to Generex fixing obvious problems. |
Currently got a warning:
At the moment PODAM doesn't support @Pattern({})
I can do a PR if you can give me some hints about the way to achieve this (e.g. a way to override
BeanValidationStrategy
or attaching something to the factory)Can be generated easily using https://github.com/mifmif/Generex
The text was updated successfully, but these errors were encountered: