From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Mike Ballard Newsgroups: gmane.emacs.help Subject: Re: search and replace Date: Sat, 03 Jul 2004 23:04:35 GMT Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <40e71dde$0$162$edfadb0f@dtext01.news.tele.dk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1088896128 24941 80.91.224.253 (3 Jul 2004 23:08:48 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 3 Jul 2004 23:08:48 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 04 01:08:38 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bgtcc-0007SV-00 for ; Sun, 04 Jul 2004 01:08:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BgteV-000836-Et for geh-help-gnu-emacs@m.gmane.org; Sat, 03 Jul 2004 19:10:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cyclone1.gnilink.net!spamkiller2.gnilink.net!gnilink.net!nwrdny02.gnilink.net.POSTED!de648aa3!not-for-mail Original-Newsgroups: gnu.emacs.help X-Newsreader: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-Lines: 28 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Original-NNTP-Posting-Host: 68.160.9.11 Original-X-Complaints-To: abuse@verizon.net Original-X-Trace: nwrdny02.gnilink.net 1088895875 68.160.9.11 (Sat, 03 Jul 2004 19:04:35 EDT) Original-NNTP-Posting-Date: Sat, 03 Jul 2004 19:04:35 EDT Original-Xref: shelby.stanford.edu gnu.emacs.help:124108 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19439 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19439 On Sat Jul 03, I was peacefully napping until David Rasmussen said: > I am trying with query replace to replace > > \ncline[linewidth=0.3mm,offset=-1.5mm,arrows=->,nodesep=4mm] > > with > > \traverse > > but it just replaces 0 occurrences. I don't understand why. > > Do I have to do anything special? Is it because the string contains special characters > or ... ? > Sorry - I missed the first "\" and "[" - those mean something in regexps so they need to be escaped as well... Mike -- mikeballard at symbol verizon period net "If your main parachute fouls, deploy your reserve. If your reserve is also fouled you have the rest of your life to get it straightened out."