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. If I escape the
'$' as '\$', then the pattern is expecting a '$' to appear in the
subject. I don't want to match "something other than 'a' followed by
'$'". I just want to match "something other than 'a' to the end of the
line".
----- Original Message -----
From: "Mark Weinem" <mark...@uni-duisburg.de>
To: <cour...@lists.sourceforge.net>
Sent: Thursday, May 02, 2002 9:31 PM
Subject: Re: [maildropl] pattern match not working as expected using
maildrop-1.3.8
| On Thu, 02 May 2002, J. Lewis Muir wrote:
|
| > if (/^Subject: [^a]+$/)
| > echo "ok"
| > else
| > echo "spam"
| >
| > exit
|
| this will work:
|
| man maildropfilteir,
|
| [^a]+\$/
|
|
|
| Greetings, Mark
|
|
|
|
| _______________________________________________________________
|
| Have big pipes? SourceForge.net is looking for download mirrors. We
supply
| the hardware. You get the recognition. Email Us:
band...@sourceforge.net
| _______________________________________________
| Courier-maildrop mailing list
| Cour...@lists.sourceforge.net
| https://lists.sourceforge.net/lists/listinfo/courier-maildrop
|