From: Horacio Suarez <horaciosuarez@hotmail.com>
To: <help-gnu-emacs@gnu.org>
Subject: RE: search for any two consecutive uppercase characters
Date: Sat, 15 Aug 2009 12:01:51 +0000 [thread overview]
Message-ID: <SNT114-W24DD09A8F04DFD359E8144B4030@phx.gbl> (raw)
In-Reply-To: <d700b1db-1b8c-4505-a9d4-20f4f5c1ca2b@y10g2000prg.googlegroups.com>
[-- Attachment #1: Type: text/plain, Size: 1028 bytes --]
Thankyou very much.
--------------------
Horacio Suarez
> From: doit.ian@gmail.com
> Date: Thu, 13 Aug 2009 20:50:08 -0700
> To: help-gnu-emacs@gnu.org
> Subject: Re: search for any two consecutive uppercase characters
>
> On Aug 13, 7:11 am, "A.Politz" <poli...@googlemail.com> wrote:
> > On Aug 13, 12:38 am, p...@informatimago.com (Pascal J. Bourguignon)
> > wrote:
> >
> > > There is no
> > > [:upper:] in emacs regular expressions.
> >
> > That' actually not true, as described here
> > (info "(elisp)Char Classes")
> >
> > -ap
>
> Yes, [:upper:] is available. A common error is using it directly.
> Indeed, it must be put in a char class like [[:upper:]].
>
> The problem can be solved using query-replace-regexp
>
> Search Pattern: \<[[:upper:]]\{2,\}\>
> Replace: \,(capitalize \&)
_________________________________________________________________
Drag n’ drop—Get easy photo sharing with Windows Live™ Photos.
http://www.microsoft.com/windows/windowslive/products/photos.aspx
[-- Attachment #2: Type: text/html, Size: 1365 bytes --]
next prev parent reply other threads:[~2009-08-15 12:01 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.4480.1250115925.2239.help-gnu-emacs@gnu.org>
2009-08-12 22:38 ` search for any two consecutive uppercase characters Pascal J. Bourguignon
2009-08-12 23:11 ` A.Politz
2009-08-14 3:50 ` doitian
2009-08-15 12:01 ` Horacio Suarez [this message]
2009-08-13 12:23 ` Colin S. Miller
2009-08-13 13:09 ` Pascal J. Bourguignon
2009-08-13 14:13 ` Horacio Suarez
2009-08-13 17:24 ` Peter Dyballa
[not found] ` <mailman.4515.1250173016.2239.help-gnu-emacs@gnu.org>
2009-08-13 21:54 ` Pascal J. Bourguignon
2009-08-12 22:25 Horacio Suarez
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=SNT114-W24DD09A8F04DFD359E8144B4030@phx.gbl \
--to=horaciosuarez@hotmail.com \
--cc=help-gnu-emacs@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.
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).