help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: search and replace


From: Ole Laursen
Subject: Re: search and replace
Date: Sun, 04 Jul 2004 11:14:42 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

David Rasmussen <address@hidden> writes:

[...]

> I didn't think M-% (query and replace) worked on regexps. Is there a
> way to do search on replace on raw text, not regexps?

You were right in your thinking - it doesn't work on regexps. I tried
copying the

  \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm]

into *scratch* and used M-% to query-replace it with \traverse. It
works fine here. Remember that if you place the cursor on top of the
above line, Emacs won't find it. You need to place the cursor before the
line for Emacs to find it.

-- 
Ole Laursen
http://www.cs.aau.dk/~olau/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]