🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #178196

Re: [slrn] regexp for scoring indirect replies

#178196
From: Whiskers
Date: Tue, 20 Dec 2005 23:09
68 lines
2993 bytes
On 2005-12-20, DC <dcmoose@myrealbox.com> 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'm not well up on regexs but for what it's worth here is the relevent 
part of my score file:

---------X----------
%BOS
%follow-ups to my own articles (including those with mis-typed FQDN)

[*]
Score:: 100     %fup to mine
    References: ID-107770\.user\.uni-berlin\.de>
    References: ID107770\.user\.uni-berlin\.de>
    References: ID-107770\.user\.individual\.net>
%EOS

%BOS
%extra score for direct follow-ups to my articles

[*]
Score:: 100     %direct fup to mine
       References: ID-107770\.user\.uni-berlin\.de>$
       References: ID107770\.user\.uni-berlin\.de>$
       References: ID-107770\.user\.individual\.net>$
%EOS

---------X----------

That scores /all/ 'indirect' fups, which is not quite what you are looking 
for - but in practice works quite well for me.

Tsca's web site <http://www.geocities.com/tsca.geo/slang.html> includes
this suggestion

---------X----------
[*]

% This scores my posts and three succesive followups made to them

 Score:: 2000
              From: tsca@
              From: sienicki
 Score:  1000
              References: tsca@gate\d*\.has\.dk> *$
 Score:  900
              References: tsca@gate\d*\.has\.dk> *<[^>]*> *$
 Score:  500
              References: tsca@gate\d*\.has\.dk> *<[^>]*> *<[^>]*> *$

---------X----------

If you do work out a way to specify the maximum number of < or > 
characters between your FQDN and the end of the References header, I'd 
certainly like to know  :))

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <3jfm73-28f.ln1@ID-107770.user.individual.net>
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!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrndqgcs7.7sq.dcmoose@moosemeat.ca.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <3jfm73-28f.ln1@ID-107770.user.individual.net>
Subject: Re: [slrn] regexp for scoring indirect replies
Date: Tue, 20 Dec 2005 23:09:55 +0000
From: Whiskers <catwheezel@operamail.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!border2.nntp.ams.giganews.com!nntp.giganews.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 68
X-Trace: individual.net HYxYQIhQAqytmZqpR3NV7gF/Vhn1l10waKgz9sWIQq4yLCZc0h
X-Orig-Path: ID-107770.user.individual.net!news
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)