🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3371

Re: tilde in vi regular expression

#3371
From: Hans Mulder
Date: Tue, 22 Nov 1988 18:17
7 lines
615 bytes
In article <17243@agate.BERKELEY.EDU> vojta@math.berkeley.edu (Paul Vojta) writes:
>What does the tilde do in a vi regular expression?  For example, if my file
>contains the lines

When you have done :s/pattern/replacement/, the tilde matches the replacement.

Hans Mulder	hansm@cwi.nl	mcvax!hansm
Technical Details
Message-ID: <7729@boring.cwi.nl>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hansm
References: <17243@agate.BERKELEY.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcvax!hansm
From: hansm@cwi.nl (Hans Mulder)
Newsgroups: comp.editors
Subject: Re: tilde in vi regular expression
Message-ID: <7729@boring.cwi.nl>
Date: 22 Nov 88 18:17:14 GMT
References: <17243@agate.BERKELEY.EDU>
Sender: news@cwi.nl
Organization: CWI, Amsterdam
Lines: 7