procmail
[Top] [All Lists]

Re: Matching Special Characters

2002-02-13 23:46:33
Philip Guenther wrote:

You don't need to escape double-quotes or angle-brackets.  To match that
literal string, just write:

      :0
      * ^From: ""<>

        (8-<    <-- smiley feeling st00pid.

For some reason, I thot that < & > were used for special processing.
Obviously (he sez, looking at a successful test), I was w0rng.

Procmail doesn't support any sort of hex-encoding of characters in
regexps.

 ...Yet?   (8-)   One word, BIG5.

Maybe.  For now you'll have to write it the long way

      * ^Message-ID: <0000[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\$

Or just:

        * ^Message-ID: <0000[0-9]+\$

It would be nice to have that facility, especially to set minimum and
maximum values, like {8,12}, or some such. Just a thot.

Thanks VERY MUCH for the help, BTW!

Aloha mai Nai`a!
-- 
"Please have your Internet License             http://kapu.net/~mjwise/
  and Usenet Registration handy..."

_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>