[izpack-devel] bug in RegularExpressionValidator?

Elmar Grom elmar at grom.net
Thu Feb 1 18:30:58 CET 2007


Hi Dennis,

I guess my views in such matters are well known. Don't use additional
libraries if there is no need to, i.e. the functionality exists in the core
API. Therefore if a library is buggy and someone is willing to do the work
and move the code over to use the core API I am all for it.

	Elmar


-----Original Message-----
From: izpack-devel-bounces at lists.berlios.de
[mailto:izpack-devel-bounces at lists.berlios.de]On Behalf Of Dennis Reil
Sent: Thursday, February 01, 2007 3:15 AM
To: izpack-devel at lists.berlios.de
Subject: [izpack-devel] bug in RegularExpressionValidator?


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
_______________________________________________
izpack-devel mailing list
izpack-devel at lists.berlios.de
https://lists.berlios.de/mailman/listinfo/izpack-devel




More information about the izpack-devel mailing list