all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* RE: Another regex problem
@ 2005-10-25 21:28 Dave Humphries
  0 siblings, 0 replies; 6+ messages in thread
From: Dave Humphries @ 2005-10-25 21:28 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 6+ messages in thread
* Another regex problem
@ 2005-10-25 18:44 exits funnel
  0 siblings, 0 replies; 6+ messages in thread
From: exits funnel @ 2005-10-25 18:44 UTC (permalink / raw)


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-10-27 21:42 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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
2005-10-25 21:28 Dave Humphries
  -- strict thread matches above, loose matches on Subject: below --
2005-10-25 18:44 exits funnel

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.