🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #117306

Re: [xnews] Forcing "follow-up" scoring. Pls help!

#117306
From: Tech Zero
Date: Sat, 04 Jan 2003 19:07
47 lines
2650 bytes
The voice of "Mosby Jay" drifted in on the cyber-winds, 
from the sea of virtual chaos...

> This looks very useful to me but I can't understand the regex for 
> the last two score entries (for 3500 and 1000).
> 
> Can someone explain them so I can customize them for my own score 
> file.  Thanks.

   Score: 3500
     References: (Insomniac|MxPollare)@\S+>(\s<\S+@\S+>){0,2}$
   Score: 1000
     References: MxPollare@\S+>(\s<\S+@\S+>){3,8}$
     ~References: ^<Xns\S+MxPollare@

Sure...

"\s" is the wildcard for a space character
"\S" is the wild card for not a space character
"+" is that character repeated one or more times

The "MxPollare@\S+>" part is my ID_Tag followed by any caritor that's 
not a space up to the ">". The "<\S+@\S+>" part is the universal 
pattern of the globally unique ID. The "{0,2}" is the sub pattern 
"(\s<\S+@\S+>)" repeated 0, 1, or 2 times. The "$" says we are looking 
for this *entire* pattern from the end of the references line....

Are you still with me? 

Now, the "3500" entry tags the first 3 replies for ID_Tags "Insomniac" 
and "MxPollare" green. Because of the double colons (OR operand), the 
second part is not important, it's just the tag for my nym(s) in the 
subject.

The "1000" entry tags replies 4 through 9 blue. Because it's only acted 
upon in groups I use the "MxPollare" ID_Tag, therefor I have some 
control how long replies are tagged for. The second part of it is an 
override, so messages I start are not tagged past the 3rd reply 
(think "sea of blue").

-- 
The Tech Zero, Maxx Pollare - znkkjryy@qentbashe.pn (ROT-13)

Helpful Xnews Links:
* http://www.slyck.com/xnews.html  http://www.seegras.de/xnews     *
* http://www.geocities.com/d4vidb/ http://xnews.newsguy.com/sizer/ *
Technical Details
Message-ID: <Xns92F97B4A07380Insomniac@130.133.1.4>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!142.59.33.81!not-for-mail
References: <92F570354C34171E5@62.253.162.115> <Xns92F784CE063D0Insomniac@130.133.1.4> <92F97E08A707371E5@62.253.162.115>

Show Full Headers
Complete Article Headers
Message-ID: <Xns92F97B4A07380Insomniac@130.133.1.4>
Subject: Re: [xnews] Forcing "follow-up" scoring. Pls help!
Date: Sat, 04 Jan 2003 19:07:12 +0000
From: Tech Zero <spamail@dragonfur.ca>
References: <92F570354C34171E5@62.253.162.115> <Xns92F784CE063D0Insomniac@130.133.1.4> <92F97E08A707371E5@62.253.162.115>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!fu-berlin.de!uni-berlin.de!142.59.33.81!not-for-mail
Newsgroups: news.software.readers
Lines: 46
NNTP-Posting-Host: 142.59.33.81
X-Trace: fu-berlin.de 1041707232 12851677 142.59.33.81 (16 [139626])
User-Agent: Xnews/05.08.12