Article View: news.software.readers
Article #235371Re: [xnews] set score and move message
From: JimH
Date: Tue, 08 Sep 2009 13:06
Date: Tue, 08 Sep 2009 13:06
67 lines
3794 bytes
3794 bytes
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.
Technical Details
Message-ID:
<Xns9C805CB065FB0hahadotdotdot@74.209.136.82>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!newsfeed.freenet.de!feeder.news-service.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!spln!extra.newsguy.com!newsp.newsguy.com!news5References:
<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>Show Full Headers
Complete Article Headers
Message-ID: <Xns9C805CB065FB0hahadotdotdot@74.209.136.82> Subject: Re: [xnews] set score and move message Date: Tue, 08 Sep 2009 13:06:41 +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> 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!newsfeed.freenet.de!feeder.news-service.com!feeder1.cambriumusenet.nl!feed.tweaknews.nl!209.197.12.246.MISMATCH!nx02.iad01.newshosting.com!newshosting.com!69.16.185.21.MISMATCH!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!cyclone1.gnilink.net!gnilink.net!spln!extra.newsguy.com!newsp.newsguy.com!news5 Newsgroups: news.software.readers Organization: NewsGuy - Unlimited Usenet $19.95 Lines: 67 NNTP-Posting-Host: p93505bba2ac862811d8b797c39d9a38d285128d72ae28a2a.newsdawg.com User-Agent: Xnews/5.04.25