From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ralf Fassel Newsgroups: gmane.emacs.help Subject: Re: Irritation about re-search-backward Date: Fri, 25 May 2018 11:23:59 +0200 Message-ID: References: <84muwpw4oo.fsf@gmail.com> <87po1lf4ch.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1527240202 16940 195.159.176.226 (25 May 2018 09:23:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 25 May 2018 09:23:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 25 11:23:18 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fM8wN-0004GV-EO for geh-help-gnu-emacs@m.gmane.org; Fri, 25 May 2018 11:23:15 +0200 Original-Received: from localhost ([::1]:42680 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fM8yU-0000UQ-AZ for geh-help-gnu-emacs@m.gmane.org; Fri, 25 May 2018 05:25:26 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 8 Original-X-Trace: individual.net WDZkCAo1IVQwt1BlthYs8w8iQY7e8AfRE2VM4U0k/5nHN4fsg= Cancel-Lock: sha1:VbYA6qAZpxTvAlcGk9BvtLygPhI= sha1:GCStagKP2h1s3Ofpgq5NmZQ8XDY= Original-Xref: usenet.stanford.edu gnu.emacs.help:222733 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116854 Archived-At: * Marco Wahl | 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'. HTH R'