From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#9681: Broken behaviour of re-search-backward (.+ matching only a single character) Date: Thu, 06 Oct 2011 08:57:09 -0400 Message-ID: References: <8762k21o09.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1317905887 598 80.91.229.12 (6 Oct 2011 12:58:07 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 12:58:07 +0000 (UTC) Cc: 9681@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 06 14:58:03 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RBnWU-000847-5N for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 14:58:02 +0200 Original-Received: from localhost ([::1]:40647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnWT-0003ch-GT for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Oct 2011 08:58:01 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnWQ-0003cW-GB for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 08:57:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RBnWM-0007z7-FF for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 08:57:58 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RBnWM-0007z2-7b for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 08:57:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RBnWU-0007C7-4a for bug-gnu-emacs@gnu.org; Thu, 06 Oct 2011 08:58:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Oct 2011 12:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9681 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9681-submit@debbugs.gnu.org id=B9681.131790586527633 (code B ref 9681); Thu, 06 Oct 2011 12:58:02 +0000 Original-Received: (at 9681) by debbugs.gnu.org; 6 Oct 2011 12:57:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBnWC-0007Be-DZ for submit@debbugs.gnu.org; Thu, 06 Oct 2011 08:57:44 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RBnW7-0007BO-9L for 9681@debbugs.gnu.org; Thu, 06 Oct 2011 08:57:41 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgwKAFaljU7O+JxS/2dsb2JhbABEmQ2PIIEGgVMBAQQBViMFCws0EhQYDSSIEbcPhywEoQyERA X-IronPort-AV: E=Sophos;i="4.68,496,1312171200"; d="scan'208";a="140139862" Original-Received: from 206-248-156-82.dsl.teksavvy.com (HELO pastel.home) ([206.248.156.82]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 06 Oct 2011 08:57:09 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id A3A2A592D4; Thu, 6 Oct 2011 08:57:09 -0400 (EDT) In-Reply-To: <8762k21o09.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Thu, 06 Oct 2011 11:13:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 06 Oct 2011 08:58:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:52273 Archived-At: > If this curious inconsistency of `re-search-backward' with > `re-search-forward' is intentional (which I hope it is not), it should > be documented, but I couldn't find anything in the manuals or > docstrings. re-search-* stops at the first character position that has a match. And then it chooses the longest match at that position. Stefan