procmail
[Top] [All Lists]

Re: shouldn´t this work?

2001-08-29 08:48:40
At 11:30 AM 8/29/2001, homega(_at_)wanadoo(_dot_)es wrote:
I may be wrong but:

* ^List-Id:.*docbook(-apps)-digest\.lists\.oasis-open\.org

shouldn´t this include both mail matching
docbook-digest... as well as docbook-apps-digest... ?

No, the () as you have them do nothing.  You need a "?" to mean
"0 or 1 of the preceding", as in:
        * ^List-Id:.*docbook(-apps)?-digest\.lists\.oasis-open\.org

Hope that helps,
Stan

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