unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: suvayu ali <fatkasuvayu+linux@gmail.com>
To: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Regex is not being as "hungry" as it is supposed to
Date: Fri, 6 Aug 2010 17:44:59 -0700	[thread overview]
Message-ID: <AANLkTin5F+ynQN4zN_goBaTpnB0Go58=akTuJS=L0hLR@mail.gmail.com> (raw)
In-Reply-To: <4C5BBB6E.7020801@easy-emacs.de>

On 6 August 2010 00:36, Andreas Röhler <andreas.roehler@easy-emacs.de> wrote:
>
> BTW, as running into difficulties with regexps is common:
> quite often helps ancoring it
>
> ^\(.+ \)[0-9]+ =
>
> \1
>
> circumvents the bug
>

Thank you for this suggestion! :) Whenever working with sed I usually
do that. I guess its good practice when using regexps interactively in
emacs too.

-- 
Suvayu

Open source is the future. It sets us free.



      reply	other threads:[~2010-08-07  0:44 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
2010-08-07  0:44           ` suvayu ali [this message]

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='AANLkTin5F+ynQN4zN_goBaTpnB0Go58=akTuJS=L0hLR@mail.gmail.com' \
    --to=fatkasuvayu+linux@gmail.com \
    --cc=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).