procmail
[Top] [All Lists]

Re: OR'ed regexps in procmail Condition

1997-03-29 15:22:11
On Sat, 29 Mar 1997, Philip Guenther wrote:

Paul O Bartlett <pobart(_at_)access(_dot_)digex(_dot_)net> writes:
...
:0
* ^TOsome_mailing_list_
* ^Subject.*((_situation_1_here_)|(_situation_2_here)|(_situation_3_here))
{
INCLUDERC=$PMDIR/bitbucket.rc
}
...
[...]

Doesn't the ".*" right after "Subject" cover this case?

    I myself had thought that it would, so I was a little baffled when
it didn't.  Unfortunately, this particular Subject:-condition from this
particular list doesn't come by to often, making things a little
awkward to test.

                                                         If not (say, the
(FWD) is 'inside' what _situation_two_here_ matches, then just stick a
      (\(FWD\) *)?
in the appropriate place.

    I will give this a try.  Thanks very much for the suggestion.

Paul                             <pobart(_at_)access(_dot_)digex(_dot_)net>
----------------------------------------------------------
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key
Home Page:  http://www.access.digex.net/~pobart

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