[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#1021: 23.0.60; Regexp error
From: |
Lawrence Mitchell |
Subject: |
bug#1021: 23.0.60; Regexp error |
Date: |
Thu, 25 Sep 2008 09:03:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (darwin) |
Miguel V. S. Frasson wrote:
> search-forward-regexp fails to search uppercase classes of
> characters in regexp.
> How to reproduce:
> 1) emacs -q --no-site-file --no-splash
> 2) type the following in *scratch* buffer
> (search-forward-regexp "[A-Z]") abCd
> 3) evaluate the first expression.
> Expected: cursor after B
^ C?
> Results: cursor after a
This is (I believe) expected behaviour with case-fold-search set
to t, the default.
Perhaps the docstring of search-forward-regexp should mention
this variable, as is done for search-forward.
Cheers,
Lawrence
--
Lawrence Mitchell <wence@gmx.li>