🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fj.editor.vi
Article #284

extended regular expressions

#284
From: Ahkmed Jones
Date: Fri, 07 Dec 2001 17:23
12 lines
1127 bytes
Hi there,

I am trying to write an EX command like the following :

: %s/this|that/\u&/

I want it to find this OR that and capitalize the first letter.

I am wondering how to write such a command. It doesn't work on my vi editor.

My editor does not seem to have the set extended option for extended regular
characters (caldrake linux)
Technical Details
Message-ID: <u11usdf2dqm0b@corp.supernews.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f7c9f,60ad9dacde2a4c77,start
X-Google-Attributes: gidf7c9f,public
X-Google-ArrivalTime: 2001-12-07 09:25:33 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!sn-xit-01!sn-post-01!supernews.com!corp.supernews.com!not-for-mail
From: "Ahkmed Jones" <ahkmedjones@hotmail.com>
Newsgroups: fj.editor.vi
Subject: extended regular expressions
Date: Fri, 7 Dec 2001 12:23:25 -0500
Organization: Posted via Supernews, http://www.supernews.com
Message-ID: <u11usdf2dqm0b@corp.supernews.com>
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
X-Complaints-To: newsabuse@supernews.com
Lines: 14