🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #120703

Re: [Xnews] Regular expression scoring help?

#120703
From: Tech Zero
Date: Sun, 23 Feb 2003 23:30
33 lines
2090 bytes
The voice of "Murray Peterson" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> Another way to do it would be to use the "non space" wildcard
>> along with a possible starts with "Re: ". This will catch all
>> replies as well unless they change the subject:
>> 
>>   Score: -9999
>>     Subject: ^(Re: )?\S{20,}
> 
> No need to match the "Re:", since it is irrelevant to the match. 
> The rule: 
>          Score:: -9999
>          Subject: \S{20,}
> is simpler and works for replies as well as originals.


We're both right in this case. "Re: " is only relative to the score if 
you looking from the start of the string, like my suggestion is....

There is a higher probability of getting a false hit by looking for a 
string of characters anywhere in the subject header. If that happens 
it's a simple matter of upping the x value thou.

Coodo's Murry... Just goes to show I don't know everything yet...

-- 
The Tech Zero, Maxwell C.G. Pollare

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: <Xns932BA7E0A67BFInsomniac@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.1.190!not-for-mail
References: <Xns9328ED0A14845sethralavode@68.1.17.6> <Xns9328F0E3F498farkle@24.71.223.159> <Xns932A364597E68Insomniac@130.133.1.4> <Xns932A6CE894FDfarkle@24.71.223.159>

Show Full Headers
Complete Article Headers
Message-ID: <Xns932BA7E0A67BFInsomniac@130.133.1.4>
Subject: Re: [Xnews] Regular expression scoring help?
Date: Sun, 23 Feb 2003 23:30:11 +0000
From: Tech Zero <spamail@dragonfur.ca>
References: <Xns9328ED0A14845sethralavode@68.1.17.6> <Xns9328F0E3F498farkle@24.71.223.159> <Xns932A364597E68Insomniac@130.133.1.4> <Xns932A6CE894FDfarkle@24.71.223.159>
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.1.190!not-for-mail
Newsgroups: news.software.readers
Lines: 32
Reply-To: techzero@dragonfur.ca
NNTP-Posting-Host: 142.59.1.190
X-Trace: fu-berlin.de 1046043011 54414986 142.59.1.190 (16 [139626])
User-Agent: Xnews/06.01.10