all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "rgb" <rbielaws@i1.net>
Subject: Re: What is wrong with this regexp search?
Date: 10 Nov 2006 08:46:08 -0800	[thread overview]
Message-ID: <1163177168.657810.174530@m73g2000cwd.googlegroups.com> (raw)
In-Reply-To: <1163175893.633418.30770@h54g2000cwb.googlegroups.com>


> The problem is that re-search-forward seems to capture the very next
> character, irrespective whether the following one is uppercase or
> lowercase.

case-fold-search is probably non-nil
Put a let someplace around your search.
Then it doesn't matter if it's on or off.

(let (case-fold-search)(re-search-forward "[a-z][A-Z]"))

  reply	other threads:[~2006-11-10 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-10 16:24 What is wrong with this regexp search? Mirko
2006-11-10 16:46 ` rgb [this message]
2006-11-10 16:50 ` Juanma Barranquero
     [not found] ` <mailman.407.1163177433.2155.help-gnu-emacs@gnu.org>
2006-11-10 18:53   ` Mirko

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

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

  git send-email \
    --in-reply-to=1163177168.657810.174530@m73g2000cwd.googlegroups.com \
    --to=rbielaws@i1.net \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.