You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Brett Porter <bp...@f2network.com.au> on 2003/02/20 04:06:38 UTC

[validator] email addresses

Hi,

We're using validator for email addresses, and domains with a dash "-" 
in them fail the regexen.

We're using an outdated version of Struts Validator (for Struts 1.0), 
but looking at the most recent source:
http://cvs.apache.org/viewcvs.cgi/jakarta-commons/validator/src/share/org/apache/commons/validator/GenericValidator.java
it appears it is still the case.

Thanks,
Brett