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: Mon, 10 Oct 2011 23:56:27 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318305420 17242 80.91.229.12 (11 Oct 2011 03:57:00 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 Oct 2011 03:57:00 +0000 (UTC) Cc: 9681@debbugs.gnu.org, stepnem@gmail.com To: Kenichi Handa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 11 05:56:53 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 1RDTSV-0002dC-Sw for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Oct 2011 05:56:52 +0200 Original-Received: from localhost ([::1]:59193 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDTSV-0007uN-7Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Oct 2011 23:56:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43792) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDTSR-0007tL-WC for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 23:56:48 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RDTSR-0001Yn-5i for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 23:56:47 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RDTSR-0001Yj-4G for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 23:56:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RDTSf-0008IS-Kv for bug-gnu-emacs@gnu.org; Mon, 10 Oct 2011 23:57:01 -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: Tue, 11 Oct 2011 03:57:01 +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.131830541031873 (code B ref 9681); Tue, 11 Oct 2011 03:57:01 +0000 Original-Received: (at 9681) by debbugs.gnu.org; 11 Oct 2011 03:56:50 +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 1RDTSU-0008I2-FB for submit@debbugs.gnu.org; Mon, 10 Oct 2011 23:56:50 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RDTSS-0008Hp-Be for 9681@debbugs.gnu.org; Mon, 10 Oct 2011 23:56:49 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAGe9k05FxJoX/2dsb2JhbABDqBqBBoFTAQEEAVYjBQsLNBIUGA0kiBG5WodMBKEdhEU X-IronPort-AV: E=Sophos;i="4.68,521,1312171200"; d="scan'208";a="141082081" Original-Received: from 69-196-154-23.dsl.teksavvy.com (HELO ceviche.home) ([69.196.154.23]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 10 Oct 2011 23:56:28 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id B312C660B6; Mon, 10 Oct 2011 23:56:27 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Tue, 11 Oct 2011 11:03:26 +0900") 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: Mon, 10 Oct 2011 23:57:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:52497 Archived-At: >> It's not the ideal behavior, admittedly. It's even more obvious in >> `looking-back'. But fixing it would require the implementation of >> a backward regexp matcher. > FYI, in Mule (the version before integrating into Emacs), we > implemented such a feature by doing these: I actually think it would be nice to have such a thing, but I also think it'd be more important to have a non-backtracking regexp matcher. > multilingual feature. And actually, that feature had been > used very rarely. Indeed, it's not often needed, but those few cases can be significant. Stefan