[100425] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: procmail statement

daemon@ATHENA.MIT.EDU (John D. Hardin)
Fri Nov 20 13:20:00 1998

Date: Fri, 20 Nov 1998 10:03:48 -0800 (PST)
From: "John D. Hardin" <jhardin@wolfenet.com>
To: Red Hat Users List <redhat-list@redhat.com>
In-Reply-To: <19981120171255.A16672@adbvdesign.analog.com>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

On Fri, 20 Nov 1998, Thomas Ribbrock (Design/DEG) wrote:

> > Procmail REs are not case-sensitive, and that will match phrases as well.
> 
> D'oh! Yep, I overlooked that ":0D:" at the beginning of my case sensitive
> receipe... You're right, of course - as per default, procmail is case
> insensitive. WRT phrases - I thought Zoki might want that... :-}

His original request specifically excluded phrases.

> > NB: It's a damn shame that Procmail's RE parser doesn't understand \s
> > or + at this time.
> 
> ?? According to man page (man procmailrc), this should work as well:
> 
> * ^Subject +test
> 
> <quote source="procmailrc man page">
>   Extended regular expressions
>      The following tokens are known to both the procmail internal
>      egrep  and  the  standard  egrep(1)  (beware that some egrep
>      implementations include other non-standard extensions):
> 
> [...]
> 
>      a*        Any sequence of zero or more a's.
> 
>      a+        Any sequence of one or more a's.

D'oh!

I don't know *where* that brain fart came from...

<volley>
You forgot the colon.

* ^Subject: +test
</volley>

--
 John Hardin KA7OHZ                               jhardin@wolfenet.com
 pgpk -a finger://gonzo.wolfenet.com/jhardin    PGP key ID: 0x41EA94F5
 PGP key fingerprint: A3 0C 5B C2 EF 0D 2C E5  E9 BF C8 33 A7 A9 CE 76 
-----------------------------------------------------------------------
   5 days until Sleeping In Light


-- 
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
		http://www.redhat.com http://archive.redhat.com
         To unsubscribe: mail redhat-list-request@redhat.com with 
                       "unsubscribe" as the Subject.


home help back first fref pref prev next nref lref last post