Quoth Philip Hazel on Wed, Jan 12, 2000:
> On Wed, 12 Jan 2000, Peter Radcliffe wrote:
> > Someone has actually written a regexp to interpret email addresses
> > properly. I think it was included in the ORA regexp book.
>
> Sort of properly. It doesn't actually match every legal address.
Yes, there is the arbitrary-number-of-parentheses problem, but
it's just because it's not a job for a regexp. But are there any
problems except this one in the regexp?
> > It's half a page long,
>
> Much longer. It is a Perl script that *generates* a regular expression.
But the regexp itself is quoted on the last (before the index)
page.
Vadik.
--
If there was anything that depressed him more than his own
cynicism, it was that quite often it still wasn't as cynical as
real life.
-- Terry Pratchett, "Guards! Guards!"