🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #64799

Re: [Xnews] group-based settings SortOn and PCRE styles

#64799
From: Scott Robins
Date: Wed, 23 Aug 2000 00:00
54 lines
2300 bytes
eaglestorm@vene.dave.it (EagleStorm) wrote in
<8nv185.3vvls93.1@estorm.it.net>: 

>How does SortOn work? It seems to work with boolean values, 0
>ascending and 1 descending, but this is not.
>
SortOn=From
SortOn=Subject
etc.

SortOrder is different.  I think it's -1=descending 1=ascending, but I 
am not sure.

>
>Another question...
>Could someone suggest me how to filter out any subject with all the
>word chars in uppercase format? I've some difficulties...
>
>% Indeed, for "Subject: HELP" I can use...
> score:: -9999
> ~subject: (?-i)[a-z]
>
>...but for these types of subject?
>   Re: HELP
>   Re: Aw: Aw: Aw: Aw: HELP"
>   Aw: HELP
>   Aw: AW: HELP
>
>Yes, repetitions are not my strong point :-)
>

I think you are looking to kill all articles with subjects that are all 
CAPS?  Here is what I use (I copied it from something that someone 
posted here a while ago, it works great for me).

  	% kill if subject doesn't contain at least 1 lower case letter
	% i.e., kill all caps subject
	Score:: -9999
		~Subject= [a-z]
	% kill followup to all caps subject while we're at it.
	Score: -9999
		Subject= ^[Rr][Ee]: [^a-z]*$
		Subject= ^[Rr][Ee]: .*[A-Z]

If you want to customize it to check for "AW:" as well as "RE:" you 
could add
    	    	Subject= ^[Aa][Ww]: [^a-z]*$
    	    	Subkect= ^[Aa][Ww]: .*[A-Z]

-- 
Scott Robins, Xerox Engineering Systems
Scott.Robins@USA.Xerox.com, http://www.xes.com

Technical Details
Message-ID: <8F996C935ScottRobinsIDToken@13.0.32.55>
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: <8nv185.3vvls93.1@estorm.it.net>

Show Full Headers
Complete Article Headers
Message-ID: <8F996C935ScottRobinsIDToken@13.0.32.55>
Subject: Re: [Xnews] group-based settings SortOn and PCRE styles
Date: Wed, 23 Aug 2000 00:00:00 +0000
From: ScottRobins@sabreshockey.com (Scott Robins)
References: <8nv185.3vvls93.1@estorm.it.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: 661757123
X-Complaints-To: usenet@news.wrc.xerox.com
X-Trace: news.wrc.xerox.com 967041374 13684 13.1.106.189 (23 Aug 2000 14:36:14 GMT)
Organization: Xerox Engineering Systems
User-Agent: Xnews/03.08.16
Reply-To: Scott.Robins@usa.xerox.com
NNTP-Posting-Date: 23 Aug 2000 14:36:14 GMT
Newsgroups: news.software.readers