J?rgen Herrmann:
> I have a problem with the following pcre table:
> 
> if !/X-Spam-Level:.*\*{7,}/
> /X-Spam-Flag:.*YES/ HOLD
> endif

Wietse:
> > As documented in pcre_table(5) and other places:
> > 
> >     if /pattern/flags
> > 
> >     endif Match the input string  against  the  patterns  between  if  
> > and
> >       endif,  if  and only if THAT SAME INPUT STRING also matches pat-
> >       tern. The if..endif can nest.
> > 
> > In other words, "/X-Spam-Flag:.*YES/ HOLD" executes always.
> 
> Hmm, i have a ! before the if-pattern.
> 
>         if !/pattern/flags

You are NOT READING my reply. The "if !/X-Spam-Level/" 
always succeeds for headers with /X-Spam-Flag/

        Wietse

Reply via email to