help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Another regex problem


From: Dave Humphries
Subject: RE: Another regex problem
Date: Wed, 26 Oct 2005 08:28:57 +1100

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]