🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #178231

Re: [slrn] regexp for scoring indirect replies

#178231
From: Troy Piggins
Date: Wed, 21 Dec 2005 12:02
50 lines
2702 bytes
* DC wrote:
> 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)

Sorry - my expression there is rubbish.

>> 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)

Been playing with that a bit too (if I understand you correctly).  I
need some time on weekend to tinker.

-- 
Troy Piggins
Christmas thought:  "Christmas is a time of eating, 
so Boxing Day is a time for pooing."
Technical Details
Message-ID: <20051221215938@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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
References: <slrndqgcs7.7sq.dcmoose@moosemeat.ca.INVALID> <20051221081048@usenet.piggo.com> <slrndqh787.a9n.dcmoose@moosemeat.ca.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <20051221215938@usenet.piggo.com>
Subject: Re: [slrn] regexp for scoring indirect replies
Date: Wed, 21 Dec 2005 12:02:14 +0000
From: Troy Piggins <usenet-0512@piggo.com>
References: <slrndqgcs7.7sq.dcmoose@moosemeat.ca.INVALID> <20051221081048@usenet.piggo.com> <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!nntp.waia.asn.au!203.59.27.186.MISMATCH!newsfeed.iinet.net.au!newsfeed.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsstorage1.iinet.net.au!per-qv1-newsreader-01.iinet.net.au!not-for-mail
Newsgroups: news.software.readers
Reply-To: usenet-0512@piggo.com
User-Agent: slrn/0.9.8.1/rt (Linux)
Lines: 50
NNTP-Posting-Host: 203.206.14.64
X-Trace: 1135166534 per-qv1-newsreader-01.iinet.net.au 14695 203.206.14.64