procmail
[Top] [All Lists]

Re: Need help demunging Subject header

2002-08-29 09:46:33
On Thu, 29 Aug 2002 dman(_at_)nomotek(_dot_)com wrote:

From uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il  Thu Aug 29 17:43:27 2002

On Thu, 29 Aug 2002 dman(_at_)nomotek(_dot_)com wrote:

From: Udi Mottelo <uuddii(_at_)eng(_dot_)tau(_dot_)ac(_dot_)il>

        Sory, you must escape the ] [:

* ^Subject:.*\[VeryLongIdentifier\]
             ^^                  ^^

I don't believe the `]' needs quoting.

    I do.

    With out "\" procmail will matches:  "Subject: GAVRI",
    "Subject: London", "Subject: Funy" ... but not "fun" (:-)

    Any single char which closed in "[ ... ]" is enoth to match.
            ^^^^^^

No.  ] doesn't need quoting in general.

[...]

        The right one, yes, with no "[" the regular expresion lose
        its magic (;-)

Bye,
 Udi

_______________________________________________
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>