Thread View: news.software.readers
1 messages
1 total messages
Started by Scott Robins
Wed, 23 Aug 2000 00:00
Re: [Xnews] group-based settings SortOn and PCRE styles
Author: Scott Robins
Date: Wed, 23 Aug 2000 00:00
Date: Wed, 23 Aug 2000 00:00
54 lines
2300 bytes
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
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