unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lawrence Mitchell <wence@gmx.li>
To: emacs-pretest-bug@gnu.org
Cc: bug-gnu-emacs@gnu.org
Subject: bug#1021: 23.0.60; Regexp error
Date: Thu, 25 Sep 2008 09:03:56 +0100	[thread overview]
Message-ID: <?fnord?m2vdwkps7n.fsf@ID-97657.user.individual.net> (raw)
In-Reply-To: 1c01d1b0809240911x1afca4d2h67c6cbb2bd2e14a7@mail.gmail.com

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>







      parent reply	other threads:[~2008-09-25  8:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87r679rwlv.fsf@cyd.mit.edu>
2008-09-24 16:07 ` bug#1022: 23.0.60; Regexp error Unknown
2008-09-24 22:55   ` bug#1022: marked as done (23.0.60; Regexp error) Emacs bug Tracking System
2008-09-24 16:11 ` bug#1021: 23.0.60; Regexp error Miguel V. S. Frasson
2008-09-24 22:55   ` bug#1021: marked as done (23.0.60; Regexp error) Emacs bug Tracking System
2008-09-25  8:03   ` Lawrence Mitchell [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='?fnord?m2vdwkps7n.fsf@ID-97657.user.individual.net' \
    --to=wence@gmx.li \
    --cc=1021@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).