procmail
[Top] [All Lists]

Re: how can I eat the Re:

1997-04-17 09:26:00
Robert Nicholson <steffi2(_at_)dgs(_dot_)dgsys(_dot_)com> writes:
Why didn't my attempt work? I really like to keep these things as simple
as possible.

procmail's regexps are non-greedy (except to the right of the \/ token).
Therefore, in the condition

        * ^Subject: *(Re: )*\/[^ ].*

The "(Re: )*" will always match zero times, as there's nothing to keep
procmail from matching the Re:'s later.

Philip Guenther

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