From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: regexp case sensitivity bug Date: Mon, 09 Dec 2002 15:22:14 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <3DF3B4D0.D4628D27@cs.unc.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1039465699 3865 80.91.224.249 (9 Dec 2002 20:28:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Dec 2002 20:28:19 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18LUVh-0000zi-00 for ; Mon, 09 Dec 2002 21:28:13 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 18LUfv-00086d-00 for ; Mon, 09 Dec 2002 21:38:48 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LUQC-0007HT-09 for emacs-devel@quimby.gnus.org; Mon, 09 Dec 2002 15:22:32 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18LUPw-0007HJ-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 15:22:16 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18LUPu-0007H4-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 15:22:15 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18LUPu-0007Gy-00 for emacs-devel@gnu.org; Mon, 09 Dec 2002 15:22:14 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.10) id 18LUPu-0008HD-00; Mon, 09 Dec 2002 15:22:14 -0500 Original-To: heringto@cs.unc.edu In-reply-to: <3DF3B4D0.D4628D27@cs.unc.edu> (message from Dean Herington on Sun, 08 Dec 2002 16:08:32 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Emacs development discussions. List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:10009 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:10009 In Emacs 21.1.1, when I do isearch-forward-regexp with input "\bP", Emacs matches 'p's case insensitively. Does this patch fix it? *** isearch.el.~1.215.~ Sun Nov 10 13:13:37 2002 --- isearch.el Mon Dec 9 11:20:37 2002 *************** *** 1871,1877 **** (if (and regexp-flag (eq char ?\\)) (setq quote-flag (not quote-flag)) (if (and (not quote-flag) (not (eq char (downcase char)))) ! (setq found t)))) (setq i (1+ i))) (not found))) --- 1871,1878 ---- (if (and regexp-flag (eq char ?\\)) (setq quote-flag (not quote-flag)) (if (and (not quote-flag) (not (eq char (downcase char)))) ! (setq found t)) ! (setq quote-flag nil))) (setq i (1+ i))) (not found)))