On Wed, 18 Jun 97 07:27:27 +0100,
Chris Bidmead <bidmead(_at_)cbidmead(_dot_)demon(_dot_)co(_dot_)uk> wrote:
Can somebody tell me the functional difference between:
It's huge. The first checks for stuff in the body only if the Subject
matches, whereas the second will look at the body regardless (and do
nothing if the Subject doesn't match, and a different nothing if it
does).
But what you probably had in mind was using an :a flag on the second
recipe; generally, I'd agree that nesting blocks are clearer than :a
flags but sometimes the :a variant comes naturally.
:0
*^Subject: (Read Receipt|Empfangsbestaetigung)
{ }
:0B
(This would then be :0aB instead.)
*^(Your message regarding|Ihre Mitteilung bezueglich)
| appnmail ReadReceipts
And a third variant which IMHO beats both would be
:0
* ^Subject: (Read receipt|Empfangsbestaetigung)
* B ?? ^(Your message regarding|Ihre Mitteilung bezueglich)
| appnmail ReadReceipts
If the "Your message regarding ..." string will always be the first
line of the message, use ^^ instead of ^
Do NeXTs only speak English and German? :^)
Hope this helps,
/* era */
--
Defin-i-t-e-ly. Sep-a-r-a-te. Gram-m-a-r. <http://www.iki.fi/~era/>
* Enjoy receiving spam? Register at <http://www.iki.fi/~era/spam.html>