From: "Dave Humphries" <dave.humphries@dytech.com.au>
Subject: RE: Another regex problem
Date: Wed, 26 Oct 2005 08:28:57 +1100 [thread overview]
Message-ID: <24E36F57378E2A49B8D5EE98904F2E2EE2FC38@osiris.olympus.dytech.com.au> (raw)
How about a keyboard macro: search-forward to t_foo_ then move point to
end of line and downcase-region.
-----Original Message-----
From: help-gnu-emacs-bounces+dave.humphries=dytech.com.au@gnu.org
[mailto:help-gnu-emacs-bounces+dave.humphries=dytech.com.au@gnu.org] On
Behalf Of exits funnel
Sent: Wednesday, 26 October 2005 5:44 AM
To: help-gnu-emacs@gnu.org
Subject: Another regex problem
Hello,
I've bumped into another problem which I'd like to use
query-replace-regexp to fix if possible. Not I've got a bunch of these:
t_foo_Grape_Banana
t_foo_Pear
t_foo_Apple
which I'd like to replace with
t_foo_grape_banana
t_foo_pear
t_foo_apple
In other words I'd like to make them uniformly lower case but I can't
figure out how to accomplish this in the replacement string. Is it
possible? Thanks in advance.
-exits
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
next reply other threads:[~2005-10-25 21:28 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-25 21:28 Dave Humphries [this message]
[not found] <mailman.12658.1130265846.20277.help-gnu-emacs@gnu.org>
2005-10-25 21:18 ` Another regex problem rgb
2005-10-25 21:47 ` Pascal Bourguignon
2005-10-25 22:06 ` David Kastrup
2005-10-27 21:42 ` Edward Dodge
-- strict thread matches above, loose matches on Subject: below --
2005-10-25 18:44 exits funnel
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=24E36F57378E2A49B8D5EE98904F2E2EE2FC38@osiris.olympus.dytech.com.au \
--to=dave.humphries@dytech.com.au \
/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).