I ran through a bunch of unit tests to validate that the RE compiled pattern
operated the same as when compiled with either ORO's Perl5Compiler or Java's
Pattern.  I found that in one instance it did not:

[EMAIL PROTECTED]@host.com

I'd expect this pattern to fail the match and it does for ORO and Java.  But it
passes when run through Apache regexp.  The pattern as amended is:

^([0-9a-zA-Z]([-.\w]*[0-9a-zA-Z])*@([0-9a-zA-Z][\w-]*[0-9a-zA-Z]\.)+[a-zA-Z]
{2,9})$


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to