Rocco Rutte wrote:
> Hmm, I thought so, too, and tried it before I asked the list
> for help because I doesn't work. I use:
> 
>    score '(~s \[?[Mm][Uu][Tt][Tt]\]? ) ~w $newsgroup' +100
> 
> ...which works as intended while:
> 
>    score '(~s \[?mutt\]? ) ~w $newsgroup' +100
> 
> ...is applied to all messages and doesn't work.

I think your quoting is the problem.  Try this one instead:

score '(~s \\[?mutt\\]? ) ~w $newsgroup' +100

That will make the regexp on the subject come out to
        \[?mutt\]?
instead of
        [?mutt]?
which means something else quite entirely.

Reply via email to