From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#3687: 23.1.50; inconsistency in multibyte eight-bit regexps Date: Sat, 27 Jun 2009 12:36:03 +0300 Message-ID: <83iqiiyq64.fsf@gnu.org> References: <200906260956.n5Q9uo917123@church.math.s.chiba-u.ac.jp> <83my7vyute.fsf@gnu.org> Reply-To: Eli Zaretskii , 3687@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1246096735 29341 80.91.229.12 (27 Jun 2009 09:58:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Jun 2009 09:58:55 +0000 (UTC) Cc: 3687@emacsbugs.donarmstrong.com To: YAMAMOTO Mitsuharu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 27 11:58:48 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MKUfa-000486-Iu for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 11:58:02 +0200 Original-Received: from localhost ([127.0.0.1]:49385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKUfa-0006Gc-2p for geb-bug-gnu-emacs@m.gmane.org; Sat, 27 Jun 2009 05:58:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MKUfA-0005mj-9A for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:57:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MKUf4-0005do-76 for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:57:35 -0400 Original-Received: from [199.232.76.173] (port=56993 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MKUf3-0005dO-IW for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:57:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46395) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MKUf2-00018n-Up for bug-gnu-emacs@gnu.org; Sat, 27 Jun 2009 05:57:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R9vNbr005912; Sat, 27 Jun 2009 02:57:26 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n5R9e5dJ002741; Sat, 27 Jun 2009 02:40:05 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 27 Jun 2009 09:40:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3687 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3687-submit@emacsbugs.donarmstrong.com id=B3687.12460953752555 (code B ref 3687); Sat, 27 Jun 2009 09:40:05 +0000 Original-Received: (at 3687) by emacsbugs.donarmstrong.com; 27 Jun 2009 09:36:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout3.012.net.il (mtaout4.012.net.il [84.95.2.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n5R9a9OU002544 for <3687@emacsbugs.donarmstrong.com>; Sat, 27 Jun 2009 02:36:11 -0700 Original-Received: from conversion-daemon.i_mtaout3.012.net.il by i_mtaout3.012.net.il (HyperSendmail v2004.12) id <0KLW00D004QFTP00@i_mtaout3.012.net.il> for 3687@emacsbugs.donarmstrong.com; Sat, 27 Jun 2009 12:36:03 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.229.213.34]) by i_mtaout3.012.net.il (HyperSendmail v2004.12) with ESMTPA id <0KLW0028N5C25SN0@i_mtaout3.012.net.il>; Sat, 27 Jun 2009 12:36:03 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 27 Jun 2009 05:57:35 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29031 Archived-At: > Date: Sat, 27 Jun 2009 10:30:10 +0900 > From: YAMAMOTO Mitsuharu > Cc: 3687@emacsbugs.donarmstrong.com > > >>>>> On Fri, 26 Jun 2009 16:43:25 +0300, Eli Zaretskii said: > > >> Date: Fri, 26 Jun 2009 18:56:50 +0900 (JST) > >> From: YAMAMOTO Mitsuharu > >> Cc: > >> > >> The following results look inconsistent: > >> > >> (string-match (string-to-multibyte "\x80") (string-to-multibyte "\x80")) > >> => 0 > >> (string-match (string-to-multibyte "\x80") "\x80") > >> => nil > >> > >> (string-match (string-to-multibyte "[\x80]") (string-to-multibyte "\x80")) > >> => nil > >> (string-match (string-to-multibyte "[\x80]") "\x80") > >> => 0 > > > Please tell why you think they are inconsistent. > > I thought there's no room for argument about their inconsistency with > respect to the specification of "[...]" in regexps. Well, obviously there is such a room. Please consider explaining why you think there's inconsistency.