procmail
[Top] [All Lists]

Re: rule to catch a certain number of characters

2007-05-27 20:08:13
On 5/27/07, wolfgang <spamfiltered(_at_)gmx(_dot_)net> wrote:
In an older episode (Sunday, 27. May 2007 17:55), Bart Schaefer wrote:
:0:

* B ?? <title>\/.*</title>
* 1^1 MATCH ?? > 1000
spampile

That didn't work for me. Apparently, it's not that easy to match the
heading "<" of a HTML tag.

Oops, it's just the "<".  That has to be quoted when it's the first
character of a regular expression in a condition.

Dallman shows the idiomatic solution in a later message on this thread:

* B ?? ()<title>

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail