Article View: news.software.nn
Article #5298Re: How to kill all caps
From: Nancy McGough
Date: Sat, 15 Jan 1994 08:30
Date: Sat, 15 Jan 1994 08:30
23 lines
1380 bytes
1380 bytes
jgd@dixie.com (John De Armond) writes: >I'm trying to figure out a regular expression to use to kill any article >which has its Subject written in all capital letters. Thus far I've >struck out. Any ideas? How about... :!s/=:^[^a-z]*$ ...which means kill (!) all subjects (s) that match the regular express (/), case sensitive (=). The RE means anything that starts (^) with anything other than a-z ([^a-z]) followed by arbitrarily many (*) characters that aren't a-z through the end of the line ($). The brief test I just did worked! Enjoy, Nancy -- nancym@ii.com
Technical Details
Message-ID:
<2h89jr$hg8@nwfocus.wa.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!nwnexus!nancymReferences:
<r5j386n@dixie.com>Show Full Headers
Complete Article Headers
Message-ID: <2h89jr$hg8@nwfocus.wa.com> Subject: Re: How to kill all caps Date: Sat, 15 Jan 1994 08:30:51 +0000 From: Nancy McGough <nancym@ii.com> References: <r5j386n@dixie.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!nwnexus!nancym Newsgroups: news.software.nn Organization: Infinite Ink, Seattle, Washington, USA Lines: 23 Sender: news@nwfocus.wa.com Reply-To: Nancy McGough <nancym@ii.com> NNTP-Posting-Host: nwfocus.wa.com X-Newsreader: NN [version 6.4.18] Originator: nancym@chinook.halcyon.com