On Wed, May 6, 2015 at 4:42 PM, Guillaume Smet <[email protected]> wrote:
> On Mon, May 4, 2015 at 9:26 PM, Martin Grigorov <[email protected]> > wrote: > > > What's wrong with 'instanceof'+casting? > > > > Nothing, except it's more verbose. I'll go do that. > > I was wondering if it might be worth it to add a way to define the error > keys with a setter of PatternValidator. We usually override the message to > make it understandable by the user (a regexp doesn't qualify as > understandable for most users). Are we the only ones? > > If it's of some interest, I can prepare a PR for that. > Sure! Suggestions for improvement are always welcome! > > -- > Guillaume >
