🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #235427

Re: [xnews] set score and move message

#235427
From: Mike Dee
Date: Fri, 11 Sep 2009 01:51
53 lines
3292 bytes
JimH wrote:

> Mike Dee <mikedee@emteedee.invalid> wrote in
> news:Xns9C818F65AE920emteedee@87.106.137.111:
 
[...]
>> And (proven) room for error. When all you need is \bo/?\.?t\b
>> for this task (scoring "OT" posts) to work without error, in any
>> of the above examples. 
> 
> Really? It would seem to me your regexp would erroneously score
> these lines:
> 
> I'm going ot the store, want anything?
> Thank you for posting ot!

Much less likelyhood of that occuring in a subject header than
getting the errors your attempt(s) on scoring on characters either
side of "ot" were producing. 

> It's not uncommon for "ot" to appear as a typo for the words "to"
> and "it." Restricting the allowed appearance to the beginning of
> the line reduces the odds of a mismatch.

I didn't say it was perfect. I say it is _more reliable_ and far
easier to understand.
 
> Can we agree that:
> 
> ^(re:)?\bo/?\.?t\b
> 
> might be the about best way to match only those subject lines
> desired? 

Emphatically; No.

What you have there, works only on strings beginning:

ot, o/t, o.t
Re:ot, Re:o/t, Re:o.t

And that's it. Notice there is no space between the colon and the
"o". - OK, so you didn't put a space after the colon in "^(re:)?"
which is an easy fix, but it still requires that a post begins "ot"
with no allowing of braces of any kind, or possible punctuations
preceding the "O". A post beginning [OT] would not work IOW.  

If there is any post in this thread that I can agree on 100%, it is
<<Q>>'s, who says it far more eloquently and succinctly than I can: 
<news:20090909171735.090a6d55@bellgrove.remarqs.net> 

-- 
dee
Technical Details
Message-ID: <Xns9C8378CF1712Aemteedee@87.106.137.111>
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!feeder.ecngs.de!ecngs!feeder2.ecngs.de!87.106.137.111.MISMATCH!weretis.net!feeder1.news.weretis.net!news.solani.org!not-for-mail
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98> <Xns9C818F65AE920emteedee@87.106.137.111> <Xns9C81395E0DB70hahadotdotdot@74.209.136.94>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9C8378CF1712Aemteedee@87.106.137.111>
Subject: Re: [xnews] set score and move message
Date: Fri, 11 Sep 2009 01:51:03 +0000
From: Mike Dee <mikedee@emteedee.invalid>
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98> <Xns9C818F65AE920emteedee@87.106.137.111> <Xns9C81395E0DB70hahadotdotdot@74.209.136.94>
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!feeder.ecngs.de!ecngs!feeder2.ecngs.de!87.106.137.111.MISMATCH!weretis.net!feeder1.news.weretis.net!news.solani.org!not-for-mail
Newsgroups: news.software.readers
Organization: Poor Boy
Lines: 53
NNTP-Posting-Host: eJwNyrEBwDAIA7CXQsBOfU6h8P8JzaRFcBrrBMHAYKqs9azL0qfQatfOeYEVx8lIZIXyth4aaFkQ6G07dOwHTMQU2g==
Mime-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: solani.org
 eJwNyMkNADEIBMGUOAcIB2OTfwi7Un+qXcGYMDjM1/ccq/se92CdXKObBa0TdPIvpQtPw+Ptvf/kBLYdTQGed+5CQKjJwaMfLHkvj4gH2Vgz6VZpvxSrV5XqUHezu3a6jUyCsmRn0vsDiGMqwA==
X-Complaints-To: abuse@news.solani.org
NNTP-Posting-Date: Fri, 11 Sep 2009 01:51:03 +0000 (UTC)
X-Face: $W<X:Uw4$"nTXRHqqZ=.|pFI@K,TNNH0i>-J; N5/yst7]cQb.o^L$oAhs-J!C
 AOUMQ^NHu3aTb9H8awW~4Y.LR`[o}Rz6Xf=^krb-AwUiM"7zA+QR<vWz'8>hKiTOyd]h
 z]7m=[nhuH{NMrE>~][PM`wSKd?TFV-.glh)>N
Cancel-Lock: sha1:6AVJGatNbdiEX71eQRKfjw/PRi0=
User-Agent: Xnews/2009.05.01