Article View: news.software.nn
Article #8365Re: regexp to kill posts in ALL CAPS
From: John E. Davis
Date: Thu, 16 Jan 1997 00:00
Date: Thu, 16 Jan 1997 00:00
25 lines
1156 bytes
1156 bytes
On 16 Jan 1997 10:32:53 GMT, Sven Guckes <guckes@math.fu-berlin.de>
wrote:
>The rule that works with SLRN is this:
>
> % Subject contains capital letters and spaces only
> [*]
> Score: -1000
> Subject: ^\c[A-Z ]+$
>
>But I am too lazy to test it right now with NN. ;-)
It is unlikely it will work with NN. The \c regular expression is
simply used to turn on case-sensitivity whereas \C will turn it off.
As far as I know, these forms are unique to slang regular expressions.
For example,
\<\c[A-Z]\C[a-z]*\>
will match any capitalized word.
--John
Technical Details
Message-ID:
<slrn5dst78.8ul.davis@mygir.davis.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailReferences:
<pjl.853382598@shellx> <5bl04l$35h@fu-berlin.de>Show Full Headers
Complete Article Headers
Message-ID: <slrn5dst78.8ul.davis@mygir.davis.net> Subject: Re: regexp to kill posts in ALL CAPS Date: Thu, 16 Jan 1997 00:00:00 +0000 From: davis@space.mit.edu (John E. Davis) References: <pjl.853382598@shellx> <5bl04l$35h@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.nn.mbox.zip!not-for-mail X-Deja-AN: 210230981 Organization: Center for Space Research Newsgroups: news.software.nn