Re: Email Regex

"Daniel F. Savarese" <[email protected]>
Newsgroups gmane.comp.jakarta.oro.devel
Message-ID <[email protected]>
In message <p05111b12b9d9ed6db804@[10.0.1.2]>, "Mark F. Murphy" writes:
>Has anyone tried the regex that matches an internet email address?
>
>http://examples.oreilly.com/regex/email-unopt.pl
>http://examples.oreilly.com/regex/email-opt.pl

I think someone may have at one point and it blew the stack because of
some recursion.  I think the same thing happens in Perl, except the
stack grows more gracefully than in Java, where you may have to specify
in advance a largish stack.

>Would this be a good test case?

Definitely yes, with a good helping of email addresses.

daniel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.