[Mailman-Developers] message filters - how to define regex
string which allowes any mail address
John W. Baxter
jwblist at olympus.net
Fri Apr 2 20:42:48 EST 2004
On 3/30/2004 8:01, "lp" <pralina at itt.nu> wrote:
> 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.
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
More information about the Mailman-Developers
mailing list