🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #14493

Re: kill files & regular expressions

#14493
From: Tim Pierce
Date: Tue, 10 Jan 1995 23:06
23 lines
1680 bytes
In article <3euitl$co9@news.onramp.net>,  <stevebo@onramp.net> wrote:

>   pjkappes@forbin.syr.edu (Peter Kappesser) writes:
>
>>  Anyway, what you want is:
>>
>>  /^Newsgroups: .*,.*,.*,/h:j
>
>Another way of doing this, since the dot itself matches ANY
>character is to use a construct like:
>
>/^Newsgroups:[.].*[.].*[.].*/h:j

(a) That's not an equivalent regular expression.
(b) A more concise method of matching only a period is to
    use the string "\." -- the backslash removes special
    meaning from metacharacters.
(c) You probably want to tell your editor to wrap lines at
    about 70 columns or thereabouts.

--
Green Card fodder: Canter, Siegel, green card, Joel Furr, liable,
fortune, conspiracy, CyberSell, Tennessee Bar.
Technical Details
Message-ID: <1995Jan10.230620.351@midway.uchicago.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!dearn!blekul11!bliulg11!aix1.segi.ulg.ac.be!chaos.kulnet.kuleuven.ac.be! idefix.CS.kuleuven.ac.be!ub4b!EU.net!howland.reston.ans.net!news.sprintlink.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!ncar!uchinews!quads!twpierce
References: <3etre2$a8c@newstand.syr.edu> <3euitl$co9@news.onramp.net>

Show Full Headers
Complete Article Headers
Message-ID: <1995Jan10.230620.351@midway.uchicago.edu>
Subject: Re: kill files & regular expressions
Date: Tue, 10 Jan 1995 23:06:20 GMT
From: twpierce@quads.uchicago.edu (Tim Pierce)
References: <3etre2$a8c@newstand.syr.edu> <3euitl$co9@news.onramp.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!nntp.gmd.de!dearn!blekul11!bliulg11!aix1.segi.ulg.ac.be!chaos.kulnet.kuleuven.ac.be! idefix.CS.kuleuven.ac.be!ub4b!EU.net!howland.reston.ans.net!news.sprintlink.net!europa.eng.gtefsd.com!newsxfer.itd.umich.edu!ncar!uchinews!quads!twpierce
Newsgroups: news.software.readers
Sender: news@uchinews.uchicago.edu (News System)
Reply-To: twpierce@midway.uchicago.edu
Organization: alt.* cabal, Professor Emeritus
Lines: 23