unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Xah Lee <xah@xahlee.org>
To: help-gnu-emacs@gnu.org
Subject: Re: force upper case of matched regex text pattern
Date: Thu, 13 Mar 2008 12:50:10 -0700 (PDT)	[thread overview]
Message-ID: <43e536b5-2574-4b57-9a3a-6757f7ba4c7d@s13g2000prd.googlegroups.com> (raw)
In-Reply-To: 87prtyh660.fsf@gmail.com

Niels Giesen:
«C-M-% your_regexp RET <p>\,(upcase \1)

...
please rewrite it, because as you see, you can refer to (sub)matches
in the \,() environment ;)
»

That's what i was looking for!

Corrected. Thanks.

  Xah
  xah@xahlee.org
∑ http://xahlee.org/

      reply	other threads:[~2008-03-13 19:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-13  3:12 force upper case of matched regex text pattern xahlee
2008-03-13  8:53 ` Andreas Röhler
     [not found] ` <mailman.8825.1205398225.18990.help-gnu-emacs@gnu.org>
2008-03-13 11:03   ` Xah
2008-03-13 17:42 ` Niels Giesen
2008-03-13 19:50   ` Xah Lee [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=43e536b5-2574-4b57-9a3a-6757f7ba4c7d@s13g2000prd.googlegroups.com \
    --to=xah@xahlee.org \
    --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).