Thank you all for your help on this problems. You have pointed
to the ( ) missing. Im afraid Im a little unclear on when or when
not to use (). I mean why wount it work with out them?
I know that it is a basic regular expression issue but
I have not found very much on defining what they do or how to use
them properly. There is lots of information on [ ] * / etc.
but I have not been able to find any good info on () can
anyone give me a short description of how they interact
with regular expression.
Thank you
--
On Tue, 23 Jul 2002 23:27:56
Udi Mottelo wrote:
I have the following recipe that I took from someone here some time
ago. It works great but recently I discovered that it does not catch
strings at the end of the subject line.
:0
* ^Received:.*\.\/(ar|au|br|cc|ch|cn|de|gr|hu|il|jp|kr|lv|\
my|ne|nl|no|nu|pl|ru|sk|su|tw|uk|za)[^-._0-9a-z]
* MATCH ?? ^^\/[a-z]+
{
:0:
* ^Subject:.*SOLVE SEPTIC|WIN CASH
(SOLVE SEPTIC|WIN CASH)
^^ ^^
IN-JUNK
}
After doing some testing that this recipe does not work if either of
the search phrases are the last string in the subject line eg.
Subject: Today Win Cash
or
Subject: buy Solve Septic
I dont think i realized this but after doing some testing this
appears to be true. How can I make it so that it will catch the words
if they are the last words int he Subject.
_____________________________________________________
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines --> LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
--
NeoMail - Webmail that doesn't suck... as much.
http://neomail.sourceforge.net
_____________________________________________________
Supercharge your e-mail with a 25MB Inbox, POP3 Access, No Ads
and NoTaglines --> LYCOS MAIL PLUS.
http://www.mail.lycos.com/brandPage.shtml?pageId=plus
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail