Article View: news.software.readers
Article #235401Re: [xnews] set score and move message
From: JimH
Date: Wed, 09 Sep 2009 09:38
Date: Wed, 09 Sep 2009 09:38
96 lines
3684 bytes
3684 bytes
Mike Dee <mikedee@emteedee.invalid> wrote in news:Xns9C818F65AE920emteedee@ 87.106.137.111: > JimH wrote: > >> Ammammata <ammammata@tiscalinet.it> wrote in >> news:Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96: >> > [...] >>> take as example alt.sports.basketball.nba.la-lakers: in these >>> days, between summer league and preseason, the number of >>> off-topics is about 90% (and counting) >>> >>> so I decided that all messages (and replies) that begin with: >>> >>> ot >>> [ot] >>> (ot) >>> >>> must be scored and moved in another folder >>> >>> I started with this: >>> >>> [lakers] >>> % -9876 means 'move elsewhere' >>> % (-9999 is used for xposts on three-more groups) >>> Score:: -9876 >>> Subject: ^ot >>> Subject: ^\[ot >>> Subject: ^\(ot >>> Subject: ^[Rr][Ee]: ot >>> Subject: ^[Rr][Ee]: \[ot >>> Subject: ^[Rr][Ee]: \(ot > > [...] > >> I just thought I'd mention that XNews SCORE.INI isn't case >> sensitive when you use the colon after "Subject". If you WANT case >> sensitivity, remove the colon. > > In Xnews, if you want case-sensitivity you use "=" instead of a > colon, as in: > > Subject= AM I SHOUTING LOUDLY ENOUGH FOR YOU? > > Or the sublime: > > [.] > Score: -9999 > ~Subject= .*[a-z] > % Kills any subject header without (at least) one lowercase > % character. > > And: > > Score: -9999 > Subject= ^[Rr][Ee]: [^a-z]*$ > % the article will be killed if the subject begins with "Re: " > % and the rest of the line does not contain a lowercase > % character. Yeah, you're right. I knew it involved the colon, but it's been so long since I last did it that I couldn't remember for sure what the difference was. I was unable to locate confirmation while composing my reply, so I went by my recollection of what I did. > >> Granted, this can't tell the difference between "RE:", ":r" or >> even "e: R"... but how likely are they to ever happen? It sees >> "RE: ", "Re: " and "re:" as being identical (on the off chance >> there isn't a space after "RE:"). > > 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! 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. Can we agree that: ^(re:)?\bo/?\.?t\b might be the about best way to match only those subject lines desired?
Technical Details
Message-ID:
<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.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!gnilink.net!spln!extra.newsguy.com!newsp.newsguy.com!news3References:
<Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98> <Xns9C818F65AE920emteedee@87.106.137.111>Show Full Headers
Complete Article Headers
Message-ID: <Xns9C81395E0DB70hahadotdotdot@74.209.136.94> Subject: Re: [xnews] set score and move message Date: Wed, 09 Sep 2009 09:38:22 +0000 From: JimH <nvm@nunya.biz> References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98> <Xns9C818F65AE920emteedee@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.dca.giganews.com!nntp.giganews.com!wns14feed!worldnet.att.net!199.45.49.37!cyclone1.gnilink.net!gnilink.net!spln!extra.newsguy.com!newsp.newsguy.com!news3 Newsgroups: news.software.readers Organization: NewsGuy - Unlimited Usenet $19.95 Lines: 96 NNTP-Posting-Host: p14d1bfbfff0000007bc712ca8cb0cc425fe4bd99b96a6cac.newsdawg.com User-Agent: Xnews/5.04.25