🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Mike Ching Fri, 07 Jun 1996 00:00
slrn score question
#22561
Author: Mike Ching
Date: Fri, 07 Jun 1996 00:00
8 lines
694 bytes
Has anyone set up a score entry to delete a post with a subject that
is all CAPS? I'm still learning how to use the score file.

Mike Ching


Re: slrn score question
#22564
Author: Sven Guckes
Date: Sat, 08 Jun 1996 00:00
22 lines
1169 bytes
mching@dilbert.ching.org (Mike Ching):
> Has anyone set up a score entry to delete a post with a subject that
> is all CAPS? I'm still learning how to use the score file.

[*]
Score:	-1000
	Subject: [A-Z ]*

Get to know regular expressions!  :-)

Sven

-- 
Sven Guckes@math.fu-berlin.de using SLRN 0.8.8.2 [released 960523]
SLRN Home Page:     http://space.mit.edu/~davis/slrn.html
SLRN FAQ on WWW:    http://space.mit.edu/~davis/slrn-FAQ.html
SLRN Manual on WWW: http://www.wp.com/TNTCONSULTING/slrn.html



Re: slrn score question
#22574
Author: Heikki Kantola
Date: Sat, 08 Jun 1996 00:00
22 lines
1292 bytes
Mike Ching <mching@dilbert.ching.org> provided the following
for the eyes of news.software.readers:
>Has anyone set up a score entry to delete a post with a subject that
>is all CAPS? I'm still learning how to use the score file.

The following should work quite fine:

Score: -5000
           ~Subject: \c[a-z]
Score: -5000
           Subject: ^Re:
           ~Subject: ..\c[a-z]

-- 
Heikki "Hezu" Kantola, <Heikki.Kantola@IKI.FI>
L�hett�m�ll� mainoksia tai muuta asiatonta s�hk�postia yll� olevaan
osoitteeseen sitoudut maksamaan oikolukupalvelusta FIM500 alkavalta
tunnilta.


Re: slrn score question
#22581
Author: Mike Ching
Date: Sat, 08 Jun 1996 00:00
22 lines
1164 bytes
On 8 Jun 1996 14:22:34 GMT, Sven Guckes <guckes@neumann.math.fu-berlin.de> wrote:
>mching@dilbert.ching.org (Mike Ching):
>> Has anyone set up a score entry to delete a post with a subject that
>> is all CAPS? I'm still learning how to use the score file.
>
>[*]
>Score:	-1000
>	Subject: [A-Z ]*
>
>Get to know regular expressions!  :-)
>
>Sven


I guess I would have read this as starting with a CAP rather than all
CAPS but you're right, I'm not good at regular expressions.

Mike Ching


Re: slrn score question
#22602
Author: Mike Ching
Date: Sun, 09 Jun 1996 00:00
24 lines
1311 bytes
On 8 Jun 1996 19:24:06 GMT, Heikki Kantola <hkantola@cc.Helsinki.FI> wrote:
>Mike Ching <mching@dilbert.ching.org> provided the following
>for the eyes of news.software.readers:
>>Has anyone set up a score entry to delete a post with a subject that
>>is all CAPS? I'm still learning how to use the score file.
>
>The following should work quite fine:
>
>Score: -5000
>           ~Subject: \c[a-z]
>Score: -5000
>           Subject: ^Re:
>           ~Subject: ..\c[a-z]
>

Thanks. While reading another post about slrn, I found out there is a
KILL_FAQ file which contains this info. I guess I need to read the
docs more often.

Mike Ching


Re: slrn score question
#22615
Author: John E. Davis
Date: Mon, 10 Jun 1996 00:00
33 lines
1489 bytes
On 8 Jun 1996 14:22:34 GMT, Sven Guckes <guckes@neumann.math.fu-berlin.de>
wrote:
 : mching@dilbert.ching.org (Mike Ching):
 : > Has anyone set up a score entry to delete a post with a subject that
 : > is all CAPS? I'm still learning how to use the score file.
 : 
 : [*]
 : Score:	-1000
 : 	Subject: [A-Z ]*

Close but not quite.  The default setting for slrn's regular expressions is
to perform case-insensitive matches.  This should work:

  [*]
  Score:	-1000
  	Subject: ^\c[A-Z ]+$

The \c bit turns on case-sensitivity of the regular expression.  You might
even prefer using

  	Subject: ^\c[^a-z]+$
	
or
       ~Subject: \c[a-z]
	
-- 
John E. Davis                   Center for Space Research/AXAF Science Center
617-258-8119                    MIT 37-662c, Cambridge, MA 02139
http://space.mit.edu/~davis


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