From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: "Douglas A. Gwyn" Message-ID: <3D11E611.FDA4E021@null.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit References: <20020619160312.C573F19A67@mail.cse.psu.edu> Subject: Re: [9fans] Sam / text search query Date: Thu, 20 Jun 2002 15:47:02 +0000 Topicbox-Message-UUID: b409cb1c-eaca-11e9-9e20-41e7f4b1d025 rog@vitanuova.com wrote: > > not forgetting that the "s" command supports \(...\) etc. > ...while remembering that, as with all regexps in plan 9, > the old ed-like \( and \) become egrep-like ( and ), Yeah, actually that's a pet peeve. I much prefer a general-purpose text editor to have but a single escape character (which can escape itself); otherwise one ends up having to escape normal text characters, *and* there is no convenient way to expand the editor special- purpose syntax without breaking existing editing scripts. Somebody (perhaps me) should write a good paper about special characters and escape sequences.