From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Reitter Newsgroups: gmane.emacs.help Subject: Re: Possible bug in replace-regexp? Date: Thu, 22 Nov 2007 14:45:46 -0800 (PST) Organization: http://groups.google.com Message-ID: <5120995e-a049-449c-8e1f-c64a971eb12a@f3g2000hsg.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195774841 28342 80.91.229.12 (22 Nov 2007 23:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 22 Nov 2007 23:40:41 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Nov 23 00:40:48 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IvLf4-0002ad-Rf for geh-help-gnu-emacs@m.gmane.org; Fri, 23 Nov 2007 00:40:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IvLeq-0004Ic-Ka for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Nov 2007 18:40:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f3g2000hsg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 129.215.212.186 Original-X-Trace: posting.google.com 1195771547 20910 127.0.0.1 (22 Nov 2007 22:45:47 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 22 Nov 2007 22:45:47 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: f3g2000hsg.googlegroups.com; posting-host=129.215.212.186; posting-account=dNOYNQ8AAACwfFSGn4ugtJc5znxYfzds User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.8pre) Gecko/20071010 Camino/1.6a1pre (like Firefox/2.0.0.8pre), gzip(gfe), gzip(gfe) Content-Disposition: inline Original-Xref: shelby.stanford.edu gnu.emacs.help:153985 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: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:49415 Archived-At: On Nov 20, 11:59 pm, Moira wrote: > If my search contains a grouped quantor like this "myString\(.*?\)" a > C-q,C-j newline in the replacement is added *before* the groups > backreference, even if it's placed behind it. > Like in this replace: "myString\1[emacs C-q,C-j comes here]". I just tried to reproduce that with the latest version from CVS (based on Emacs 22 CVS) and I can't reproduce this. If there is still a bug, it's likely to be right in GNU Emacs (since we don't mess around with Search/Replace functions)