🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #229230

Re: 40tude Dialog: How to AND several regex together?

#229230
From: Oliver Cromm
Date: Tue, 20 Jan 2009 23:22
32 lines
2642 bytes
* VanguardLH <V@nguard.LH> wrote:

> I'd like something similar to:
> 
> !ignore, markread Header {^Message-ID:.*<.*@domain>} AND {^From:.*name}
> 
> (The above doesn't work.)

Is this not in the Help file? It seems not. Bad!

It should work like this:

!ignore, markread Header {^Message-ID:.*<.*@domain>} +@Header:{^From:.*name}

There may be restrictions about using colon and spaces within the +@
part, in my scorefile, I always write it like above.

A rule can have multiple +@ parts. You can also write exceptions as -@.

But this makes more sense, when you are only scoring on standard XOVER
headers:

!ignore, markread Message-ID {<.*@domain>} +@From:{name}

There is also a syntax that reads over line breaks, I can give examples
in case you look for exotic Header contents.

-- 
There are two ways of constructing a software design. One way is to make
it so simple that there are obviously no deficiencies. And the other way
is to make it so complicated that there are no obvious deficiencies.
The first method is far more difficult. -- C. A. R. Hoare
Technical Details
Message-ID: <7ntkoxpitxoh.dlg@mid.crommatograph.info>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!news.glorb.com!news2.glorb.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
References: <gl5jgl$uvf$1@news.motzarella.org>

Show Full Headers
Complete Article Headers
Message-ID: <7ntkoxpitxoh.dlg@mid.crommatograph.info>
Subject: Re: 40tude Dialog: How to AND several regex together?
Date: Tue, 20 Jan 2009 18:22:55 -0500
From: Oliver Cromm <lispamateur@yahoo.de>
References: <gl5jgl$uvf$1@news.motzarella.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!border2.nntp.ams.giganews.com!nntp.giganews.com!news-out2.kabelfoon.nl!newsfeed.kabelfoon.nl!bandi.nntp.kabelfoon.nl!198.186.194.249.MISMATCH!news-out.readnews.com!transit3.readnews.com!news.glorb.com!news2.glorb.com!news-out.octanews.net!indigo.octanews.net!auth.beige.octanews.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Organization: École Nationale Supérieure de la Bananologie
X-Face: .f:ZE>c\~9oJ+1nK#>ntSHOQS~4x"Qx2m(<D<@p$G"tzb1lgWLUGY.zApKa@VL_?d$r(8=?VjrD9=uY:x!+H=hvj58Uw7)Y9<:KMYD.+^~#qMpeg2rvt`{#2a~7YoyFaFaBEdo4.TJzBqgtCZZ:mku4J|hey}DE}_"z(rl0N)\Pxh*0$"3B2mr\01&YPY7WJ:2kSe'I#PqiTxs1s49!S#W85'\zMXy*wRgD,,k.=4:3M{(P"i6S;
 \az~ut3z`; ?*Y;
 &]11<(EPF-SN`|3PhyL%~AuZpoFjjE_oM1`znHPq_?uib2WXwE+q@m),cLq~B$r^5uO]u6?CEecn=%xsDXNVa(1DX.)O(
Cancel-Lock: sha1:S/v20b8uHKhDgA//LJMgnPInAvw=
Lines: 32
NNTP-Posting-Date: 20 Jan 2009 17:21:53 CST
X-Complaints-To: abuse@octanews.net