Article View: news.software.readers
Article #178191Re: [slrn] regexp for scoring indirect replies
From: Troy Piggins
Date: Tue, 20 Dec 2005 22:18
Date: Tue, 20 Dec 2005 22:18
36 lines
2092 bytes
2092 bytes
* 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?
Can't help you directly, but your post inspired me to be a little more
clever with my scoring. I haven't been using regex's much until
recently.
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>( )<.*>$
and the score no longer worked/matched at all. Maybe the problem is
with the () brackets? How good is the regex matching in slrn?
PS - how's the score colo[u]r patch going? I take it this has a little
to do with that?
--
Troy Piggins
Gnocchi is potato not pasta
Technical Details
Message-ID:
<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!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-mailReferences:
<slrndqgcs7.7sq.dcmoose@moosemeat.ca.INVALID>Show Full Headers
Complete Article Headers
Message-ID: <20051221081048@usenet.piggo.com> Subject: Re: [slrn] regexp for scoring indirect replies Date: Tue, 20 Dec 2005 22:18:07 +0000 From: Troy Piggins <usenet-0512@piggo.com> References: <slrndqgcs7.7sq.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: 36 NNTP-Posting-Host: 203.206.14.64 X-Trace: 1135117087 per-qv1-newsreader-01.iinet.net.au 14695 203.206.14.64