jakarta-regexp-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Coast <nathan.co...@netdecisions.co.uk>
Subject Is this correct?
Date Thu, 22 Jun 2000 14:36:10 GMT
Hi,

I'm trying to develop a regexp for validating the format of an email address
this is what I'm using as the regexp: 

RE regexp = new RE("^[^@ %]+@([a-zA-Z0-9-]+\\.)+[a-zA-Z]{2,3}$");

This passes "abc@abc@abc.abc" 

Which is not what I'd expect, is this correct?

Also, are there libraries of regexps written and tested against
org.apache.regexp?

Thanks
Nathan

Mime
View raw message