bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17631: 24.3.50; the following should return t


From: Eli Zaretskii
Subject: bug#17631: 24.3.50; the following should return t
Date: Thu, 29 May 2014 18:52:32 +0300

> Date: Thu, 29 May 2014 16:38:02 +0200
> From: Samuel Lê <samuel.le@gmail.com>
> 
> I ran this code, as someone recommanded on the #emacs chan of freenode:
> (with-temp-buffer
>   (insert "foo Bar")
>   (goto-char (point-min))
>   (re-search-forward "[[:upper:]]")
>   (looking-at "Bar"))
> 
> t was expected, but instead I got returned nil.

You need to bind case-fold-search to nil.





reply via email to

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