unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: help-gnu-emacs@gnu.org
Subject: Re: Regex is not being as "hungry" as it is supposed to
Date: Fri, 06 Aug 2010 09:36:14 +0200	[thread overview]
Message-ID: <4C5BBB6E.7020801@easy-emacs.de> (raw)
In-Reply-To: <AANLkTimXqCXOqNRb3ZVvNU7f8mNttRdmpayLQ-YCgaKc@mail.gmail.com>

Am 06.08.2010 09:03, schrieb suvayu ali:
> On 5 August 2010 23:49, Tassilo Horn<tassilo@member.fsf.org>  wrote:
>> Andreas Röhler<andreas.roehler@easy-emacs.de>  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






  reply	other threads:[~2010-08-06  7:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-06  1:37 Regex is not being as "hungry" as it is supposed to suvayu ali
2010-08-06  4:04 ` Deniz Dogan
2010-08-06  6:29   ` Andreas Röhler
2010-08-06  6:49     ` Tassilo Horn
2010-08-06  7:03       ` suvayu ali
2010-08-06  7:36         ` Andreas Röhler [this message]
2010-08-07  0:44           ` suvayu ali

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C5BBB6E.7020801@easy-emacs.de \
    --to=andreas.roehler@easy-emacs.de \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).