all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Ralf Fassel <ralfixx@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Irritation about re-search-backward
Date: Fri, 25 May 2018 15:03:53 +0200	[thread overview]
Message-ID: <87zi0ndgzq.fsf@web.de> (raw)
In-Reply-To: <yga1se03x74.fsf@akutech.de> (Ralf Fassel's message of "Fri, 25 May 2018 11:23:59 +0200")

Ralf Fassel <ralfixx@gmx.de> writes:

> * Marco Wahl <marcowahlsoft@gmail.com>
> | BTW to get the "greedy" match backwards I use now a further element in
> | the search pattern like (re-search-backward "^a*").
>
> Note that this matches each and every line, even those not starting
> with 'a'.

Indeed.  Or the OP wants `looking-back' instead of `re-search-backward'.


Michael.



      reply	other threads:[~2018-05-25 13:03 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-24 13:42 Irritation about re-search-backward Marco Wahl
2018-05-24 15:41 ` Michael Heerdegen
2018-05-24 20:25   ` Marco Wahl
2018-05-24 21:33     ` Michael Heerdegen
2018-05-25  6:32   ` Andreas Röhler
     [not found]   ` <mailman.418.1527195625.1292.help-gnu-emacs@gnu.org>
2018-05-25  9:23     ` Ralf Fassel
2018-05-25 13:03       ` Michael Heerdegen [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

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

  git send-email \
    --in-reply-to=87zi0ndgzq.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ralfixx@gmx.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.