🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #178201

Re: [slrn] regexp for scoring indirect replies

#178201
From: DC
Date: Wed, 21 Dec 2005 00:05
51 lines
3068 bytes
Troy Piggins wrote:
> * DC wrote:
>> [*]
>> Score:  =9999 %direct reply
>> 	References: moosemeat\.ca\.INVALID>$

>> Score: =6666 %indirect replies up to 3 levels deep
>> 	References: moosemeat\.ca\.INVALID>([\s]<.*>){1,2}$

>> Second rule does not match indirect replies.  What am I doing wrong?

> I tried to take the above back to basics with this below

> Score:: +1000 % indirect replies testing
> References: <[0-9]+@usenet\.piggo\.com> <.*>$

> and it scores not only the the second followup to my post, but also
> followups beyond that.

> I tried this to try to get just the first one to match

> Score:: +1000 % indirect replies testing
> References: <[0-9]+@usenet\.piggo\.com>( )<.*>$

I'm not sure that syntax with the parens is correct.  Of course, my
regex doesn't work either, so what the hell do I know?  }:O)

> and the score no longer worked/matched at all.  Maybe the problem is
> with the () brackets?  How good is the regex matching in slrn?

Not sure what you are axing, here.

Mine: moosemeat\.ca\.INVALID>([\s]<.*>){1,2}$

my mid followed by (a space, then an lt, any number of chars, gt) one or
two times max to the end of the string.

AH!  The chars need to be alphanumeric... hmmmm.

Wait, I have to work on this some more...  back later.  }:O)

> PS - how's the score colo[u]r patch going?  I take it this has a little
> to do with that?

I'm loving it.  Thanks bunches for that.

-- 
DC                                    Linux RU #1000111011000111001

The word 'politics' is derived from the word 'poly', meaning 'many'
and the word 'ticks', meaning 'blood sucking parasites'.
Technical Details
Message-ID: <slrndqh787.a9n.dcmoose@moosemeat.ca.INVALID>
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!tiscali!newsfeed1.ip.tiscali.net!2001:1a50:0:1::9.MISMATCH!news.rh-tec.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrndqgcs7.7sq.dcmoose@moosemeat.ca.INVALID> <20051221081048@usenet.piggo.com>

Show Full Headers
Complete Article Headers
Message-ID: <slrndqh787.a9n.dcmoose@moosemeat.ca.INVALID>
Subject: Re: [slrn] regexp for scoring indirect replies
Date: Wed, 21 Dec 2005 00:05:42 +0000
From: DC <dcmoose@myrealbox.com>
References: <slrndqgcs7.7sq.dcmoose@moosemeat.ca.INVALID> <20051221081048@usenet.piggo.com>
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!tiscali!newsfeed1.ip.tiscali.net!2001:1a50:0:1::9.MISMATCH!news.rh-tec.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://dcicons.fateback.com
Lines: 51
X-Trace: individual.net e+arLpNXZ+WUTJnFKEOFQgcH/nfSTL4lgFOeGkRh8f4JDl4ieg
X-Operating-System: openSUSE 10.0 (Kernel 2.6.13-15.7-default)
X-Message-Flag: This message violates the USA PATRIOT Act (HR 3162),
 section 811(c). Intercepted by CARNIVORE/3.0
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
X-Face: 6k$Xf_V^i#2X;
 X~[=Ra6mGRtOw!^s%HmaNj1y5a>YCL"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x"fqU\H_Fy5tk8h[Iq/XW~okpDvCa\E~!fb]{H4j@CxE<vL?4q9cxiK5;
 ZdpI@,Bk)(\e67mAw; L}WCZ/NYSX|R6Jj{omL6KT/$
User-Agent: slrn/0.9.8.1/rt (Linux)