🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
8 messages
8 total messages Started by Ted S. Wed, 08 Feb 2006 16:13
[Hamster/Xnews] Regex help on killing via References
#180319
Author: Ted S.
Date: Wed, 08 Feb 2006 16:13
38 lines
2279 bytes
A particularly obnoxious poster in rec.sport tennis has a Message-ID 
ending in @per-qv1-newsreader-01.iinet.net.au>.  I've been able to kill 
posts from him based on his user name, which he doesn't change, and direct 
replies to him in Hamster on the basis of the regex

-1201 References {@per-qv1-newsreader-01.iinet.net.au>$}

But I'd like to kill second-level responses as well.  I tried the 
following regex:

Score:: -1207
References: @per-qv1-newsreader-01.iinet.net.au\>(?=\s*\<.*\>)$

But when I used Xnews' "Rescore this window" command, offending posts, 
such as this one:

<MnlGf.356949$qk4.182332@bgtnsc05-news.ops.worldnet.att.net>

didn't get killed.  For the record, here's that post's References header, 
which in Xnews is all on one line:

<snip>

References: <1139382261.156496.39700@g14g2000cwa.googlegroups.com>   
<43e9a987$0$3645$5a62ac22@per-qv1-newsreader-01.iinet.net.au>   
<1139388442.544168.268830@g43g2000cwa.googlegroups.com>   
<43e9b716$0$3665$5a62ac22@per-qv1-newsreader-01.iinet.net.au> 
<1139391950.359171.13580@z14g2000cwz.googlegroups.com>

</snip>

Any idea on how to kill second-level replies?  I don't yet want to kill 
all posts in the threads mainly because the topic can drift.

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Re: [Hamster/Xnews] Regex help on killing via References
#180320
Author: »Q«
Date: Wed, 08 Feb 2006 17:45
14 lines
1595 bytes
"Ted S." <fedya@bestweb.spam> wrote in
<news:Xns976471A125D048jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>:

> Any idea on how to kill second-level replies?  I don't yet want to
> kill all posts in the threads mainly because the topic can drift.

References: @per-qv1-newsreader-01\.iinet\.net\.au>[^>]*>$

Or to score first- and second-level replies with one regex,

References: @per-qv1-newsreader-01\.iinet\.net\.au>([^>]*>)?$

-- 
»Q«
Re: [Hamster/Xnews] Regex help on killing via References
#180325
Author: Ted S.
Date: Wed, 08 Feb 2006 21:06
18 lines
1676 bytes
Somebody claiming to be »Q« <boxcars@gmx.net> wrote in 
news:MrQ976477AB7243AitsmeitsQ@QsFQDN.dyndns.org:

> "Ted S." <fedya@bestweb.spam> wrote in
><news:Xns976471A125D048jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>:
> 
>> Any idea on how to kill second-level replies?  I don't yet want to
>> kill all posts in the threads mainly because the topic can drift.
> 
> References: @per-qv1-newsreader-01\.iinet\.net\.au>[^>]*>$

Hmmm.  When I tried this in Xnews' regex test, it got a match.  But when I 
rescored rec.sport.tennis, the article in question wasn't rescored.

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Re: [Hamster/Xnews] Regex help on killing via References
#180327
Author: »Q«
Date: Wed, 08 Feb 2006 22:10
28 lines
2471 bytes
"Ted S." <fedya@bestweb.spam> wrote in
<news:Xns9764A06DFB8CF8jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>:

> Somebody claiming to be »Q« <boxcars@gmx.net> wrote in
> news:MrQ976477AB7243AitsmeitsQ@QsFQDN.dyndns.org:
>
>> "Ted S." <fedya@bestweb.spam> wrote in
>> <news:Xns976471A125D048jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de>:
>>
>>> Any idea on how to kill second-level replies?  I don't yet want
>>> to kill all posts in the threads mainly because the topic can
>>> drift.
>>
>> References: @per-qv1-newsreader-01\.iinet\.net\.au>[^>]*>$
>
> Hmmm.  When I tried this in Xnews' regex test, it got a match.
> But when I rescored rec.sport.tennis, the article in question
> wasn't rescored.

I dunno.  I just went to rec.sport.tennis and reconstructed the
"Sampras and Federer on clay" thread, added a scoring rule with that
regex, and all second-level replies to "Whisper" were scored.  Maybe
there is something else in your scorefile to interfere with the rule?

-- 
»Q«
     links to Xnews resources:             New URL.
     <http://xnews.remarqs.net/>           Same old content.
Re: [Hamster/Xnews] Regex help on killing via References
#180342
Author: Mike Dee
Date: Thu, 09 Feb 2006 10:46
35 lines
2927 bytes
In article <MrQ9764A4991340CitsmeitsQ@QsFQDN.dyndns.org>,
 »Q« <boxcars@gmx.net> wrote:

> I dunno.  I just went to rec.sport.tennis and reconstructed the
> "Sampras and Federer on clay" thread, added a scoring rule with that
> regex, and all second-level replies to "Whisper" were scored.  Maybe
> there is something else in your scorefile to interfere with the rule?

That would most likely what be what is happening _assuming his 
newsserver(s) allow scoring on References headers_, he will have some 
regex running in either the NG he wants to score on, or in [.] (Xnews) 
*before* his References script runs, negating that score.

Especially if he has any scores beginning:
Score: =-
These will prevent any "lower down the rung" scores from even launching 
if they were hit by that one first.

If this is the case then he needs to move his References score to a 
position where it runs before the more potent score runs ([.] will be an 
issue here, if that's the case).

But a question for the OP. Is this person's group nym, "Whisper"?
With this persons MID, this part seems to be a constant: "5a62ac22". It 
was present in both examples you gave, and seems to fit a "Whisper" for 
that NG. If so, all you need to use, is a References score with that.

 Score:: -9999
    References: 5a62ac22

should suffice - it doesn't kill the thread, only responses to where the 
offending person has had a hand in it's creation.

-- 
dee
Re: [Hamster/Xnews] Regex help on killing via References
#180358
Author: Ted S.
Date: Thu, 09 Feb 2006 21:24
56 lines
3589 bytes
Somebody claiming to be Mike Dee <mikedee@invalid.invalid> wrote in
news:43eb1d42@usenet.zapto.org: 

> In article <MrQ9764A4991340CitsmeitsQ@QsFQDN.dyndns.org>,
>  »Q« <boxcars@gmx.net> wrote:
> 
>> I dunno.  I just went to rec.sport.tennis and reconstructed the
>> "Sampras and Federer on clay" thread, added a scoring rule with that
>> regex, and all second-level replies to "Whisper" were scored.  Maybe
>> there is something else in your scorefile to interfere with the
>> rule? 
> 
> That would most likely what be what is happening _assuming his 
> newsserver(s) allow scoring on References headers_, he will have some
> regex running in either the NG he wants to score on, or in [.]
> (Xnews) *before* his References script runs, negating that score.

The newsserver is Hamster.  I thought References was one of the standard 
headers on which you could score; the Xnews help file at least doesn't say 
anything about it not being standard (as opposed to, say, Xref).

> Especially if he has any scores beginning:
> Score: =-
> These will prevent any "lower down the rung" scores from even
> launching if they were hit by that one first.

I don't see any Score: =- rules in my score file.

> If this is the case then he needs to move his References score to a 
> position where it runs before the more potent score runs ([.] will be
> an issue here, if that's the case).
> 
> But a question for the OP. Is this person's group nym, "Whisper"?

Yes, although he isn't the only person whose posts I want to kill second-
level replies to.  (One of them, unfortunately, uses Agent, and thanks to 
the !#$#$@! 4ax MID, I can't use MID or References on that poster.)

> With this persons MID, this part seems to be a constant: "5a62ac22".
> It was present in both examples you gave, and seems to fit a
> "Whisper" for that NG. If so, all you need to use, is a References
> score with that. 
> 
>  Score:: -9999
>     References: 5a62ac22
> 
> should suffice - it doesn't kill the thread, only responses to where
> the offending person has had a hand in it's creation.
 
I mentioned in my original post that because of the possibility of thread 
drift, I wasn't yet ready to kill entire threads.

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Re: [Hamster/Xnews] Regex help on killing via References
#180363
Author: Tech Zero
Date: Fri, 10 Feb 2006 09:42
33 lines
2402 bytes
Reality folded in on itself, and somewhere the following words from
"Ted S." appeared in history: 

>>> Any idea on how to kill second-level replies?  I don't yet want
>>> to kill all posts in the threads mainly because the topic can
>>> drift. 
>> 
>> References: @per-qv1-newsreader-01\.iinet\.net\.au>[^>]*>$

 <Tested>

"\.iinet\.net\.au>([^>]*>)?$" seams unigue enough...

But there is a false positives though, some one named "John".

> Hmmm.  When I tried this in Xnews' regex test, it got a match. 
> But when I rescored rec.sport.tennis, the article in question
> wasn't rescored. 

Just an odd guess, do you use header storage?
If you do make sure you've turned on "Score Stored Headers"...

 - Open your Xnews.ini file while Xnews is closed
 - Add the folowing under the [misc] section:

   ScoreStoredHeaders=1

I've been caught by that one once or twice after a reinstall.

-- 
Maxx "What's That Score" Pollare...

* Score-File Dump: http://www.dragonfur.ca/nowhere *
Re: [Hamster/Xnews] Regex help on killing via References
#180366
Author: Mike Dee
Date: Fri, 10 Feb 2006 12:50
53 lines
3703 bytes
"Ted S." <fedya@bestweb.spam> wrote in
news:Xns9765A0C16CFCF8jUwe9053kODf78sfkj0@ID-121946.user.dfncis.de: 
 
> The newsserver is Hamster.  I thought References was one of the
> standard headers on which you could score; the Xnews help file at
> least doesn't say anything about it not being standard (as opposed
> to, say, Xref).

It's optional, not required. easy enough to check if you newsserver 
supports it or not.
  
> I don't see any Score: =- rules in my score file.

I did type "if"...
 
>> If this is the case then he needs to move his References score to
>> a position where it runs before the more potent score runs ([.]
>> will be an issue here, if that's the case).
>> 
>> But a question for the OP. Is this person's group nym, "Whisper"?
> 
> Yes, although he isn't the only person whose posts I want to kill
> second- level replies to.  (One of them, unfortunately, uses
> Agent, and thanks to the !#$#$@! 4ax MID, I can't use MID or
> References on that poster.)

Yes, recently I also discovered 4ax as being a genuine hindrance when 
scoring on References (makes scoring on References all but useless). 
Agent posts aren't the only bug-bear as it turns out. References are 
only good when you can work with something uniquely constant.
 
>> With this persons MID, this part seems to be a constant:
>> "5a62ac22". It was present in both examples you gave, and seems
>> to fit a "Whisper" for that NG. If so, all you need to use, is a
>> References score with that. 
>> 
>>  Score:: -9999
>>     References: 5a62ac22
>> 
>> should suffice - it doesn't kill the thread, only responses to
>> where the offending person has had a hand in it's creation.
>  
> I mentioned in my original post that because of the possibility of
> thread drift, I wasn't yet ready to kill entire threads.

That wouldn't kill an entire thread, unless he had started it. Perhaps 
using References: 5a62ac22([^>]*>)?$ could be more satisfactory for you 
(thanks Maxx). However, it now seems to me that no part of this MID is 
unique to this person, so you will likely get false positives. on the 
bright side, iinet.net.au posts probably aren't as common as Agents.

-- 
dee
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads