Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
None
-
Operating System: other
Platform: Other
-
7354
Description
My email address is not classed as valid because it has a '-' in the middle.
I investigated your code, which looks fine to me. The problem lay in
RegExp, as it was incorrectly matching against your patterns. I looked at the
mailing list archives, and it appears that others are having similar
problems with RegExp.
So, I've replaced RegExp in your code with Apache ORO's Regular
Expression handler. I've attached the files here. This has now solved my
problem for me. It works with Jakarta ORO v2.0.4.
submitted by "Andy Noble" <andy.noble@data-workshop.com>