🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #235379

Re: [xnews] set score and move message

#235379
From: JimH
Date: Tue, 08 Sep 2009 18:10
88 lines
4440 bytes
Tim Weaver <tmw99999@gmail.com> wrote in 
news:Xns9C808B0A7B4470Z0thecheeseclub0Z0@aries.ka.weretis.net:

> JimH wrote:
> 
>> Mike Yetto <myetto1@nycap.invalid> wrote in 
>> news:slrn20090908074041.375.twooffive@may.eternal-september.org:
>> 
>>> Bada bing JimH <nvm@nunya.biz> bada bang:
>>>> Mike Dee <mikedee@emteedee.invalid> wrote in 
>>>> news:Xns9C806FFBD16D3mikedee@emteedee.invalid: 
>>>>
>>>>> me@tadyatam.invalid wrote in 
>>>>> news:Xns9C7F991A9F647metadyataminvalid@feeder.eternal-september.org:
>>>>> 
>>>>>>> Probably would be better just to use:
>>>>>>> 
>>>>>>> Subject: \bo\.?t\.?\b
>>>>>>> 
>>>>>>> Yes, I have seen OT posts marked O.T. before.
>>>>>>> 
>>>>> [...]
>>>>>> 
>>>>>> There's also the "O/T" ;)
>>>>> 
>>>>> Ah you got me there ;-)
>>>>> 
>>>>> Subject: \bo/?\.?t\.?\b
>>>>>  
>>>>> Would soon sort it though. Any other gotchas?
>>>>> 
>>>>
>>>> I still maintain that "\bot\b" is too short of a string to search for.
>>>> A timing mistake while typing turns "to" into "ot." Missing by a
>>>> single key  width while typing turns an "I" into an "O", resulting in
>>>> "ot" when "it" was intended.
>>>>
>>>> Requiring that the Subject line begin with these two characters (or to
>>>> be preceded by "Re:") reduces the number of false matches. Including
>>>> likely "enclosures" such as parentheses reduces the number of false
>>>> misses. 
>>>>
>>>> The following does both of the above, and will match with ^O.T. and
>>>> ^O/T 
>>>>
>>>> ^(re\: )?[\[\(]?[ot/\.]{2,4}[\]\) ]
>>>>
>>>> Yes, it does allow false matches to very bizarre possible strings (ie,
>>>> "./.t") at the beginning of the subject line, but those will probably
>>>> be exceedingly rare.
>>>>
>>> 
>>> Then you prefer - it starts with "re:" or doesn't and has two to
>>> four of "ot/." characters either after "[(" or not.
>>> 
>>> Just go with [ot/.]{2,4} for the same result.
>>> 
>>> Mike "keep it simple" Yetto
>> 
>> I realized after posting that, it would give a "false match" with any 
>> subject line starting with the word "To" - oops! Fix one thing and break
>> something else even worse.. :)
>> 
>> The reason I added everything before the [ot/\.]{2,4} was to define the 
>> placement of the target string. I don't see any easy way to say "At the 
>> very beginning of the line, unless <such and such specific text>
>> appears. 
>> 
>> Omitting what's after it would cause a match with any subject line 
>> beginning with OT. I've not used \b much, so I haven't investigated
>> exactly which characters it matches, but it would probably suffice at
>> the end, after looking for a match to OT.
> 
> How about scoring everything down to -9999, then scoring up everything 
> but what you don't want?

It would require doing one of two things:

1) Defining everything that you DO want, or
2) Defining exactly what you don't want.

Most of the time #1 is impractical. 

If you're going to do #2, you might as well skip the intervening step and 
go directly to scoring what you don't want as -9999 right from the start.


Technical Details
Message-ID: <Xns9C80903DA8C35hahadotdotdot@74.209.136.88>
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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.unit0.net!news.glorb.com!news2.glorb.com!wns11feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!gnilink.net!spln!extra.newsguy.com!newsp.newsguy.com!news2
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <slrn20090906180000.803.twooffive@may.eternal-september.org> <pan.2009.09.07.02.35.35.707792@emteedee.invalid> <Xns9C7F991A9F647metadyataminvalid@feeder.eternal-september.org> <Xns9C806FFBD16D3mikedee@emteedee.invalid> <Xns9C8033972430Dhahadotdotdot@74.209.136.95> <slrn20090908074041.375.twooffive@may.eternal-september.org> <Xns9C805CB065FB0hahadotdotdot@74.209.136.82> <Xns9C808B0A7B4470Z0thecheeseclub0Z0@aries.ka.weretis.net>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9C80903DA8C35hahadotdotdot@74.209.136.88>
Subject: Re: [xnews] set score and move message
Date: Tue, 08 Sep 2009 18:10:46 +0000
From: JimH <nvm@nunya.biz>
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <slrn20090906180000.803.twooffive@may.eternal-september.org> <pan.2009.09.07.02.35.35.707792@emteedee.invalid> <Xns9C7F991A9F647metadyataminvalid@feeder.eternal-september.org> <Xns9C806FFBD16D3mikedee@emteedee.invalid> <Xns9C8033972430Dhahadotdotdot@74.209.136.95> <slrn20090908074041.375.twooffive@may.eternal-september.org> <Xns9C805CB065FB0hahadotdotdot@74.209.136.82> <Xns9C808B0A7B4470Z0thecheeseclub0Z0@aries.ka.weretis.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!border1.nntp.ams.giganews.com!nntp.giganews.com!news.unit0.net!news.glorb.com!news2.glorb.com!wns11feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!gnilink.net!spln!extra.newsguy.com!newsp.newsguy.com!news2
Newsgroups: news.software.readers
Organization: NewsGuy - Unlimited Usenet $19.95
Lines: 88
NNTP-Posting-Host: p14d1bfbfff0000007bc712ca8cb0cc425fe4bd99b96a6cac.newsdawg.com
User-Agent: Xnews/5.04.25