procmail
[Top] [All Lists]

Re: shouldn´t this work?

2001-08-30 07:41:55
On 29 Aug, 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... ?

Almost, but not quite. You need to qualify the part in parentheses with
a trailing "?" to make it optional.  As you have it, the parens have no
affect and it will only match the later of the two lists. Try:

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

-- 
                   /"\
Don Hammond        \ /     ASCII Ribbon Campaign
Raleigh, NC US      X        Against HTML Mail,
                   / \      and News Too

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