procmail
[Top] [All Lists]

Re: sed's and body content filter

2003-01-16 10:50:36
Bart Schaefer <schaefer(_at_)zanshin(_dot_)com> wrote:

:0 B
*  1^1 ()<!--[^>]+-->
* -2^1 ^.+$
{
 LOG="More than two HTML comments per line is silly.$NL"
}

Or even:

        HTMLcmt = '()<!--[^>]+-->'

        :0
        * $  B ?? $HTMLcmt.*$HTMLcmt
        { LOG="More than two HTML comments per line is silly.$NL" }


-- 
dman

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