From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Danilo Segan Newsgroups: gmane.emacs.help Subject: Re: regex question Date: Mon, 19 May 2003 17:52:08 +0200 Organization: USENET SERVER @ Tehnicom NET ISP, Belgrade, Yugoslavia Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <87znljuide.fsf@web.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1053364932 7919 80.91.224.249 (19 May 2003 17:22:12 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 19 May 2003 17:22:12 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Mon May 19 19:22:11 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 19HoK0-0001xL-00 for ; Mon, 19 May 2003 19:21:12 +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 19HnXQ-0005x8-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 19 May 2003 12:31:00 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-relay.ihug.net!ihug.co.nz!news.linkpendium.com!feed.news.tehnicom.net!news.tehnicom.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: ch48.beograd-3.tehnicom.net Original-X-Trace: terra.news.tehnicom.net 1053360187 4385 62.193.130.114 (19 May 2003 16:03:07 GMT) Original-X-Complaints-To: news@tehnicom.net Original-NNTP-Posting-Date: Mon, 19 May 2003 16:03:07 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3a) Gecko/20030210 X-Accept-Language: sr, sr-yu, sh, hr, en-us, en In-Reply-To: <87znljuide.fsf@web.de> Original-Xref: shelby.stanford.edu gnu.emacs.help:113389 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:9884 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9884 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 Cheers, Danilo