At 19:28 2005-04-24 +0430, Hossein Movahhedian wrote:
The following would catch exactly what's been written in compact form:
* ^From.+"James".+<\*{7}[^>]+@>
er, that (7) bit is meaningless to procmail (and doesn't match the syntax
for a standard grep count operatior either).
Also, as I pointed out previously, since From_ (the envelope header used
locally) doesn't bear the text name of the user, there's no point to trying
to match without the header-trailing colon.
If that isn't enough, the regexp above (if the count bit worked, which is
doesn't), would match some number of asterisks, followed by one or more of
a NON-wordbreak character - not necessarily an asterisk, and since the
minimal match construct was supposed to be seven OR more asterisks, the
above would require at least eight characters, but beyond seven, they're
not necessarily asterisks.
IOW, the regexp provided most certainly does not "catch exactly" what was
written in english text as a regexp description.
---
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
____________________________________________________________
procmail mailing list Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail