🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #8346

Re: regexp to kill posts in ALL CAPS

#8346
From: Sven Guckes
Date: Thu, 16 Jan 1997 00:00
22 lines
1398 bytes
davis@space.mit.edu (John E. Davis):
> > Subject: ^\c[A-Z ]+$
> 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.

Well, then maybe this will work:

	# Kill subjects with capital letters, digits, spaces, and !&$
	:!s:[A-Z0-9 !&\$]*
	# Hopefully kills these Subject: lines:
	# Subject: AAARRRGGGHHH
	# Subject: MAKE MONE FAST
	# Subject: MAKE $$$$ FAST!!!
	# Subject: TH1S 1S C00L!!1!

Someone please test this and let us know - thanks!

Sven  [too busy for testing now]

Technical Details
Message-ID: <slrn5dsven.sog.guckes@banach.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.nn.mbox.zip!not-for-mail
References: <pjl.853382598@shellx> <5bl04l$35h@fu-berlin.de> <slrn5dst78.8ul.davis@mygir.davis.net>

Show Full Headers
Complete Article Headers
Message-ID: <slrn5dsven.sog.guckes@banach.math.fu-berlin.de>
Subject: Re: regexp to kill posts in ALL CAPS
Date: Thu, 16 Jan 1997 00:00:00 +0000
From: guckes@banach.math.fu-berlin.de (Sven Guckes)
References: <pjl.853382598@shellx> <5bl04l$35h@fu-berlin.de> <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-mail
X-Deja-AN: 210236110
X-newsreader-info: http://www.math.fu-berlin.de/~guckes/slrn/
Organization: Freie Universitaet Berlin
X-access: 16 17 19
Reply-to: guckes@math.fu-berlin.de
Newsgroups: news.software.nn