message filters - how to define regex string which allowes any mail address

Hello,
If anyone knows the regex string that defines "any" mail address reagrdless of what stands before and after "@", please give me an exact example of the string.
thanx, Luka

On 3/30/2004 8:01, "lp" <pralina@itt.nu> wrote:
Well, the first edition of "Mastering Regular Expressions" by Jeffrey E. F. Friedl (spelled correctly) had such a regular expression in small print occupying a full page near the back. [He developed pieces of it in various parts of the book.] It had a bug, so there was a correct version at O'Reilly's site in the book's errata area.
Unfortunately, the book is now in its second edition, and Mr. Friedl seems to have left the bug out of that regular expression, so it isn't in the current errata and I can't point it out to you.
Check a bookstore with a good O'Reilly selection or a library...the book should be available in one or the other of those places so you can enjoy the RE.
You probably don't want to use the regular expression.
--John

On Sat, 2004-04-03 at 02:42, John W. Baxter wrote:
Theres also a copy of the regexp - or actually the perl generator for it
at:- http://public.yahoo.com/~jfriedl/regex/code.html
Nigel.
[ Nigel Metheringham Nigel.Metheringham@InTechnology.co.uk ] [ - Comments in this message are my own and not ITO opinion/policy - ]

On 3/30/2004 8:01, "lp" <pralina@itt.nu> wrote:
Well, the first edition of "Mastering Regular Expressions" by Jeffrey E. F. Friedl (spelled correctly) had such a regular expression in small print occupying a full page near the back. [He developed pieces of it in various parts of the book.] It had a bug, so there was a correct version at O'Reilly's site in the book's errata area.
Unfortunately, the book is now in its second edition, and Mr. Friedl seems to have left the bug out of that regular expression, so it isn't in the current errata and I can't point it out to you.
Check a bookstore with a good O'Reilly selection or a library...the book should be available in one or the other of those places so you can enjoy the RE.
You probably don't want to use the regular expression.
--John

On Sat, 2004-04-03 at 02:42, John W. Baxter wrote:
Theres also a copy of the regexp - or actually the perl generator for it
at:- http://public.yahoo.com/~jfriedl/regex/code.html
Nigel.
[ Nigel Metheringham Nigel.Metheringham@InTechnology.co.uk ] [ - Comments in this message are my own and not ITO opinion/policy - ]
participants (3)
-
John W. Baxter
-
lp
-
Nigel Metheringham