Subject: bug#1022: 23.0.60; Regexp error

From: Miguel Frasson <frasson@edf>
Date: Wed, 24 Sep 2008 13:07:54 -0300 (BRT)

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
Results: cursor after a

Regards

Miguel Frasson

In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9)
 of 2008-05-28 on edf
Windowing system distributor `The X.Org Foundation', version 11.0.10400090
configured using `configure  '--with-x-toolkit=gtk' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: pt_BR.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
( s e a r c h - f o r w a r d - r e g e x p SPC " [ 
A - Z ] [ A - Z ] + " SPC <backspace> ) <return> <return> 
<return> a a a a a a a SPC a A B C a a a <home> <up> 
<up> <up> <end> C-x C-e M-x e m a <tab> s u <tab> <backspace> 
<backspace> <tab> C-g <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
239
Making completion list...
Quit