From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: upro Newsgroups: gmane.emacs.help Subject: Re: regex question Date: Mon, 19 May 2003 19:20:39 +0200 Organization: Slackers Home Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87ptmesviw.fsf@gmx.net> References: <87znljuide.fsf@web.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053366192 14903 80.91.224.249 (19 May 2003 17:43:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 May 2003 17:43:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon May 19 19:43:10 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19HodS-0003iy-00 for ; Mon, 19 May 2003 19:41:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19HoTL-0000Hq-03 for gnu-help-gnu-emacs@m.gmane.org; Mon, 19 May 2003 13:30:51 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!cross114.lu-visp.NET!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 28 Original-NNTP-Posting-Host: cross114.lu-visp.net (195.61.254.243) Original-X-Trace: fu-berlin.de 1053365278 28613823 195.61.254.243 (16 [172438]) Os: Slackware Linux 2.4.19 User-Agent: Gnus/5.1001 (Gnus v5.10.1) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:QfY/7eAmFhrFfP/MLHBm5v/iVLw= Original-Xref: shelby.stanford.edu gnu.emacs.help:113391 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9885 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9885 Danilo Segan writes: > upro wrote: >> This might be a stupid question: >> I want to use M-x replace-regexp like this >> s/[a-z]''/$1"/g >> > What are you, a Perl guy? :-) > > Better try: > s/\([a-z]\)''/\1"/g Got me - I'm a Perl guy... I apparently forgot to backslash the parentheses.... Thanks a lot, Michael > > Cheers, > Danilo > -- Michael r-znvy: zvpunry.wryqra jro.qr (chg gur "@" jurer vg svgf...) ab fcnz cyrnfr