[izpack-devel] bug in RegularExpressionValidator?

Dennis Reil Dennis.Reil at reddot.de
Thu Feb 1 12:14:37 CET 2007


Hi,

I wanted to define a rule field, which should accept any character
except # . & . So I defined to use the pattern [^#.&]* with the
RegularExpressionValidator. It always returned true, regardless of the
input given.
I looked at the regex doku at jakarta, which stated that this pattern is
valid. Seems to be bug.

I would modify the validator to use java.util.regex for validation,
which correctly evaluates the pattern. Any reason, why I shouldn't do
that?


Regards,
  Dennis



More information about the izpack-devel mailing list