🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #185526

Re: Blocking similar messages via score.ini. I need a piece of advice

#185526
From: »Q«
Date: Wed, 24 May 2006 06:15
51 lines
3049 bytes
»Q« <boxcars@gmx.net> wrote in
»<news:MrQ97CCCA7CFCB09itsmeitsQ@QsFQDN.dyndns.org>:

> Mike Dee <mikedee@invalid.invalid> wrote in
> <news:Xns97CD69E5D907Eemteedee@148.160.160.156>:
>
>> "tricky2k" <tricky2k@gmail.com> wrote in
>> news:1148416042.338417.218190@g10g2000cwb.googlegroups.com:
>>
>>> Subject: animal_-_"animal152456845.jpg"
>>> Subject: structure_-_"structure7585214123.jpg"
>>> Subject: glue_-_"glue3664758832.jpg"
> [where the underscores are really spaces]
>
>> Score:: -9999
>>    Subject: ^[a-z](.*)\.jpg
>>
>> The breakdown:
>>
>> ^ Subject begins with any letter of the alphabet [a-z] where the
>> range is from "a" to "z", (.*) covers any alphanumeric character
>> from the first letter up until it \. hits a "." followed by
>> "jpg".
>
> That'll certainly catch them, but it will also kill any Subject
> starting with a lower-case letter and having a '.jpg' somewhere
> later.
>
> Since the same string appears at the beginning of the Subject and
> at the start of the filename, a back reference should avoid false
> positives.
>
> Subject: ^([a-z]*)\s-\s"\1\d*\.jpg"$
           123333332444444556667777778

I was in a bit of a hurry before.  Here's the rundown, in case it
helps.

1 - Matches the start of the string.
2 - The parentheses capture a substring which consists of
3 - any number of letters.
4 - Matches space, dash, space, quotation mark.
5 - The back reference matches the substring captured earlier.
6 - Matches any number of digits.
7 - Matches literal .jpeg"
8 - Matches the end of the string.

-- 
»Q«
     links to Xnews resources:
     <http://xnews.remarqs.net/>
Technical Details
Message-ID: <MrQ97CDCCFF809FitsmeitsQ@QsFQDN.dyndns.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1148416042.338417.218190@g10g2000cwb.googlegroups.com> <Xns97CD69E5D907Eemteedee@148.160.160.156> <MrQ97CCCA7CFCB09itsmeitsQ@QsFQDN.dyndns.org>

Show Full Headers
Complete Article Headers
Message-ID: <MrQ97CDCCFF809FitsmeitsQ@QsFQDN.dyndns.org>
Subject: Re: Blocking similar messages via score.ini. I need a piece of advice
Date: Wed, 24 May 2006 01:15:34 -0500
From: »Q« <boxcars@gmx.net>
References: <1148416042.338417.218190@g10g2000cwb.googlegroups.com> <Xns97CD69E5D907Eemteedee@148.160.160.156> <MrQ97CCCA7CFCB09itsmeitsQ@QsFQDN.dyndns.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news-ber1.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: we don't need no stinkin' organization
Lines: 51
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: individual.net 7oWtVvBeIGhZVHfCz2PD8gArsS+r3/0L8YERuIY4A0nFiTCSIZ
X-Orig-X-Complaints-To: <http://www.cybergecko.com/complain.htm>
X-Face: *#`F(_&o, GRH~~$V&ByU1LZAWc]JgxuT`Pv2y0`&JE`(=*PcC>#m2]xv]p,
 i|9mDJ+8dGMJl`V[!z]\N}qrLTHjU]Sew>rQBShT_8.(0Q(iH,
 Gu7k|y/)^!@oVydVrix*#|-|u2~zgA'U3nQ_fa#jXvcGL[9f:>8?U=hXYK3D~*}Gq$TjPe1WXEFLGTiB3ot!oMH"'(Jop0(\0C