Subject: Re: bug#1021: 23.0.60; Regexp error

From: Lawrence Mitchell <[email-masked]>
Date: Thu, 25 Sep 2008 09:03:56 +0100

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 <[email-masked]>