🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #25545

Re: NewsWatcher (MAC): how to kill multi-crossposts?

#25545
From: Matt McIrvin
Date: Tue, 03 Sep 1996 00:00
51 lines
2714 bytes
In article
<carthur.at.independent.dot.co.dot.uk-0309961822300001@ak103.du.pipex.com>,
carthur.at.independent.dot.co.dot.uk@nonexistent.sys (Charles Arthur)
wrote:

> Since I don't reckon the idiot tendency will go away on Usenet, I'm
> interested in how to configure Yet Another Newswatcher (v 2.1.8) so that
> it will killfile threads which are crossposted to, ooh, more than five or
> so groups.
> 
> I wondered about getting it to kill if the "Newsgroups" header contained ,
> , , , but am not clear whether it looks for those characters to appear
> anywhere in the newsgroups line, or for them to appear exactly as typed.
> 
> Any comments? The FAQ didn't help.

I do this with YA-NewsWatcher (2.2.0)'s support for regular expressions (I
don't know whether 2.1.8 has it; maybe it does). You can't do it with an
ordinary string search. What you want is to search for a regular
expression that matches four commas anywhere in the Newsgroups: line, with
any set of characters between them. For instance, you can search for the
regular expression (or "regexp")

,.*,.*,.*,

in the Newsgroups: line. "." means "any character," and "*" means "zero
or more of the preceding." Be sure to select "Contains the Reg. Exp." in
the filter-editing dialog.

Actually, it is usually faster to search the Xref: line instead, maybe
because it is right at the top of the header. The regexp to use is a
little different; in the Xref: line each newsgroup entry contains a colon.
So you would search for the regexp

:.*:.*:.*:.*:

in the Xref: line. (There are *five* colons, because they appear *within*
entries rather than between them.)

This technique is incredibly useful; it makes Usenet much more fun to read.

For more advertising for this technique and some information about
regular expressions, check out my Web page:

http://world.std.com/~mmcirvin/crosspost.html

-- 
Matt McIrvin   <http://world.std.com/~mmcirvin/>

Technical Details
Message-ID: <mmcirvin-0309961511240001@news.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <carthur.at.independent.dot.co.dot.uk-0309961822300001@ak103.du.pipex.com>

Show Full Headers
Complete Article Headers
Message-ID: <mmcirvin-0309961511240001@news.std.com>
Subject: Re: NewsWatcher (MAC): how to kill multi-crossposts?
Date: Tue, 03 Sep 1996 00:00:00 +0000
From: mmcirvin@world.std.com (Matt McIrvin)
References: <carthur.at.independent.dot.co.dot.uk-0309961822300001@ak103.du.pipex.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 178246155
Sender: news@world.std.com (Mr Usenet Himself)
Content-type: text/plain; charset=ISO-8859-1
Organization: Software Tool & Die, Brookline MA
Mime-version: 1.0
Newsgroups: news.software.readers