|
From: | Michael Heerdegen |
Subject: | Re: Irritation about re-search-backward |
Date: | Fri, 25 May 2018 15:03:53 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
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.
[Prev in Thread] | Current Thread | [Next in Thread] |