4 messages in net.sourceforge.lists.courier-maildropRe: [maildropl] pattern match not wor...
FromSent OnAttachments
J. Lewis MuirMay 2, 2002 5:59 pm 
Mark WeinemMay 2, 2002 7:55 pm 
J. Lewis MuirMay 2, 2002 9:23 pm 
Mark WeinemMay 3, 2002 7:52 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [maildropl] pattern match not working as expected using maildrop-1.3.8Actions...
From:Mark Weinem (mark@uni-duisburg.de)
Date:May 3, 2002 7:52:43 am
List:net.sourceforge.lists.courier-maildrop

On Thu, 02 May 2002, J. Lewis Muir wrote:

I don't see how that works. I don't want to escape the '$'. I want the '$' to have its anchor-to-end-of-line special meaning.

yes, sorry that was braindead.

I think the canonical way to do what you want is:

if (/^Subject:.*a+$/) echo "spam" else echo "ok" exit

Greetings, Mark