Article View: news.software.readers
Article #22615Re: slrn score question
From: John E. Davis
Date: Mon, 10 Jun 1996 00:00
Date: Mon, 10 Jun 1996 00:00
33 lines
1489 bytes
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
Technical Details
Message-ID:
<slrn4rp7lq.7m.davis@aluche.mit.edu>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-mailReferences:
<slrn4rgtb8.n.mching@dilbert.ching.org> <slrn4rj35a.duc.guckes@neumann.math.fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn4rp7lq.7m.davis@aluche.mit.edu> Subject: Re: slrn score question Date: Mon, 10 Jun 1996 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <slrn4rgtb8.n.mching@dilbert.ching.org> <slrn4rj35a.duc.guckes@neumann.math.fu-berlin.de> 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: 159504313 Organization: Center for Space Research Reply-to: davis@space.mit.edu Newsgroups: news.software.readers