GNU bug report logs - #1021
23.0.60; Regexp error

Previous Next

Package: emacs;

Reported by: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>

Date: Wed, 24 Sep 2008 16:20:02 UTC

Severity: normal

Merged with 1022

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lawrence Mitchell <wence <at> gmx.li>
To: bug-gnu-emacs <at> gnu.org
Cc: emacs-pretest-bug <at> gnu.org
Subject: bug#1021: 23.0.60; Regexp error
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 <wence <at> gmx.li>






This bug report was last modified 16 years and 301 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.