🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #55130

slrn: scoring challenge

#55130
From: teasmoke
Date: Sat, 11 Dec 1999 00:00
76 lines
2564 bytes
Here's what I've been fighting my scorefile for:

A scorefile entr(y|ies) which will score replies to articles I've posted,
based on how many posts there have been in the thread since mine.

So, frex, an article with

        References: <me!> <123@foo> <456@bar>

would score 6000, whereas

        References: <me!> <789@baz>

would score 7000, and

        References: <me!> <123@foo> <456@bar> <789@baz>

would score 5000. And so on.


What I've been using in my scorefile for this is

Score: 9000
Message-id <.*gn08251.*>

Score: 8000
References: <.*gn08251.*>[^<>]*

Score: -1000
References: <.*gn08251.*> *<.*>[^<>]*

Score: -1000
References: <.*gn08251.*> *<.*> *<.*>[^<>]*

Score: -1000
References: <.*gn08251.*> *<.*> *<.*> *<.*>[^<>]*

Score: -1000
References: <.*gn08251.*> *<.*> *<.*> *<.*> *<.*>[^<>]*

Score: -1000
References: <.*gn08251.*> *<.*> *<.*> *<.*> *<.*> *<.*>[^<>]*

(etc.)


This almost works. The only problem with this is, it matches

        References: <me!> <123@foo> <me!> <456@bar> <789@baz>

just the same as

        References: <000@qux> <123@foo> <me!> <456@bar> <789@baz>

. As a result, extended discussions with me end up being scored the same as
a thread where my post has long since been left in the dust. Which is *not*
what I'm looking for.


I need a pattern which will give me the equivelant of

Score: -1000
References: <me!> <NOTme!>

. I've been dueling with my scorefile for a long time now, trying to come up
with a recipe that will produce that effect, but to no avail.

Does anyone know of a slrn or regex trick that I could put to use here?



Served with a smile,
-- 
Kerne

Technical Details
Message-ID: <slrn85412c.7cf.gn08251@erudite.localdomain>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <slrn85412c.7cf.gn08251@erudite.localdomain>
Subject: slrn: scoring challenge
Date: Sat, 11 Dec 1999 00:00:00 +0000
From: gn08251@news.giganews.com (teasmoke)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 559293657
X-Abuse-Info: Otherwise we will be unable to process your complaint properly
X-Complaints-To: abuse@GigaNews.Com
X-Trace: sv2-yhKx1rI/4IaMw3jpAaK+/wNCOTsHL7FQzujjl62ijt/zaa6W0t66T9pbazmP3gOQ2LaoPEJhft8J55k!oZNDy+Yg
Organization: Giganews.Com - Premium News Outsourcing
User-Agent: slrn/0.9.5.7 (UNIX)
NNTP-Posting-Date: Sat, 11 Dec 1999 01:58:41 CST
Reply-To: kmfahey@toast.net
Newsgroups: news.software.readers