emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: regexp case sensitivity bug


From: Richard Stallman
Subject: Re: regexp case sensitivity bug
Date: Mon, 09 Dec 2002 15:22:14 -0500

    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)))
  



reply via email to

[Prev in Thread] Current Thread [Next in Thread]