From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Regex is not being as "hungry" as it is supposed to Date: Fri, 06 Aug 2010 09:36:14 +0200 Message-ID: <4C5BBB6E.7020801@easy-emacs.de> References: <4C5BABD1.2090405@easy-emacs.de> <877hk4qlq2.fsf@member.fsf.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1281080311 23681 80.91.229.12 (6 Aug 2010 07:38:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Aug 2010 07:38:31 +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 Aug 06 09:38:24 2010 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.69) (envelope-from ) id 1OhHVX-0002rV-24 for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Aug 2010 09:38:23 +0200 Original-Received: from localhost ([127.0.0.1]:46568 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhHVW-0001Ky-Iz for geh-help-gnu-emacs@m.gmane.org; Fri, 06 Aug 2010 03:38:22 -0400 Original-Received: from [140.186.70.92] (port=58799 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OhHUm-0001Ks-Ft for help-gnu-emacs@gnu.org; Fri, 06 Aug 2010 03:37:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OhHUl-0002OZ-77 for help-gnu-emacs@gnu.org; Fri, 06 Aug 2010 03:37:36 -0400 Original-Received: from moutng.kundenserver.de ([212.227.17.10]:64627) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OhHUk-0002OO-Rq for help-gnu-emacs@gnu.org; Fri, 06 Aug 2010 03:37:35 -0400 Original-Received: from [192.168.178.27] (p5DDB0A9A.dip0.t-ipconnect.de [93.219.10.154]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0MLkF5-1OgS9G0tD1-000SUw; Fri, 06 Aug 2010 09:37:33 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.1.11) Gecko/20100711 Thunderbird/3.0.6 In-Reply-To: X-Provags-ID: V02:K0:u15FRJXbllSKVNSTLuRVb5yM6xc7JekEeFdfGSXH/PK CmL70EKz/FwQrCsbx0aB0U0HTP1eaIoIfxwtTFtcIcSQD6wMtK 4+opc1uryU3xuF7/+9BlTHVrD+rgEtQlPiVwaP8zgOOn9QXPal IGZ72ji4Rhv4ANOk0QUPMDhcswDIT4Uq7L82oz9WgEItU7vt2h fcozw/Aa3u6QY+C5fAZCPvrraZNkfND6pPsLiMFiE4= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:74471 Archived-At: Am 06.08.2010 09:03, schrieb suvayu ali: > On 5 August 2010 23:49, Tassilo Horn wrote: >> Andreas Röhler writes: >> >>> same at >>> >>> GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.12.0) of 2010-02-19 >>> >>> replacement works as desribed, just the highlighting fails. > > Usually when I see the highlighting is wrong I don't proceed with the > replace. I guess that is why I didn't pick up on the fact that the > highlighting is the problem. :-p > > After seeing all the responses I proceeded with the replace, and I see > the same behaviour. Thank you every one for confirming this. > >> >> Ditto with the current emacs 24 bzr trunk. I've reported the bug as >> #6808. >> > > Thanks a lot Tassilo! :) > >> Bye, >> Tassilo >> > BTW, as running into difficulties with regexps is common: quite often helps ancoring it ^\(.+ \)[0-9]+ = \1 circumvents the bug