🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #31060

Re: Help w/ Killfile in NX

#31060
From: Conrad Sabatier
Date: Mon, 10 Feb 1997 00:00
63 lines
2617 bytes
In article <5dio2s$1ct@krypto.zippo.com>,
	mlippert@gis.net (Michael Jay Lippert) writes:
> In article <5ccdf6$1h0_010@miketoth.mc.net>, Spaminator@stop.spam (Spaminator) wrote:
> 
>>Yup. Try this:
>>
>>\$*
>>
>>That will kill ANYTHING with 1, or more, "$" sign ANYWHERE on the subject 
>>line. But, if you check out any "For Sale" newsgroups, they'll probably be 
>>pretty empty. ;-)

Wrong.  That will kill anything with ZERO or more "$"s.

>>Here's the NX.HLP file portion of this.
>>
>> ===begin cut===
>>Operator        Explanation
>>?       preceeding item is optional
>>*       preceeding item occurs zero or more times
>>+       preceeding item occurs one or more times
> 
> Hmm, NX doesn't seem to be following normal regular expression rules 
> (as listed above in its own documentation).
> 
> The regex "\$\$*" should be the same as "\$+", in other words both 
> should match 1 or more dollar sign.  The "*" operator in NX seems to 
> be acting like the "+" operator.

Not at all.  It's zero or more.

> On the other hand, the "+" operator 
> seems to have been preempted to mean Autoselect.  I'm not really sure 
> about this as I have just started playing with NX's killfiles.

The "+" indicates auto-select *only* at the beginning of a line.
 
> I have a question as well.  Is putting things on separate lines in the 
> killfile edit box equivalent to separating them with "|"?

No.

> I just typed in:
> \$\$*
> +nx
> 
> in my news.software.readers subject killfile and it seems to have done 
> what I wanted, marking articles w/ 2 $'s in the subject as read, and 
> selecting those with nx in the subject. 
> But could I have written
> \$\$*|+nx
> and accomplished the same thing?

No.  While I haven't verified it myself (I'm under FreeBSD at the moment),
I'd be willing to bet that NX would complain about bad syntax.

-- 
Conrad Sabatier		http://www.neosoft.com/~conrads



Technical Details
Message-ID: <5dlqvp$7f8@uuneo.neosoft.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: <5c651l$bnc_001@cac.psu.edu> <5ccdf6$1h0_010@miketoth.mc.net>

Show Full Headers
Complete Article Headers
Message-ID: <5dlqvp$7f8@uuneo.neosoft.com>
Subject: Re: Help w/ Killfile in NX
Date: Mon, 10 Feb 1997 00:00:00 +0000
From: conrads@neosoft.com (Conrad Sabatier)
References: <5c651l$bnc_001@cac.psu.edu> <5ccdf6$1h0_010@miketoth.mc.net>
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: 217680711
Content-type: text/plain; charset=us-ascii
Organization: NeoSoft, Inc.
Mime-version: 1.0
Reply-to: conrads@neosoft.com
Newsgroups: news.software.readers