From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Dave Humphries" Newsgroups: gmane.emacs.help Subject: RE: Another regex problem Date: Wed, 26 Oct 2005 08:28:57 +1100 Message-ID: <24E36F57378E2A49B8D5EE98904F2E2EE2FC38@osiris.olympus.dytech.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1130275966 1168 80.91.229.2 (25 Oct 2005 21:32:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2005 21:32:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 25 23:32:34 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUWMm-0008WQ-Td for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2005 23:29:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUWMm-0007g4-Bi for geh-help-gnu-emacs@m.gmane.org; Tue, 25 Oct 2005 17:29:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUWMQ-0007dt-Tl for help-gnu-emacs@gnu.org; Tue, 25 Oct 2005 17:29:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUWMI-0007cT-Qn for help-gnu-emacs@gnu.org; Tue, 25 Oct 2005 17:29:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUWMI-0007cP-OS for help-gnu-emacs@gnu.org; Tue, 25 Oct 2005 17:29:26 -0400 Original-Received: from [203.55.103.162] (helo=osiris.olympus.dytech.com.au) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EUWMG-0004vu-T9 for help-gnu-emacs@gnu.org; Tue, 25 Oct 2005 17:29:26 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 Content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Another regex problem Thread-Index: AcXZlB3hNpRIVBCMT3KkVYjae3rBlAAFlT4w Original-To: "exits funnel" , X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30565 Archived-At: How about a keyboard macro: search-forward to t_foo_ then move point to end of line and downcase-region.=20 -----Original Message----- From: help-gnu-emacs-bounces+dave.humphries=3Ddytech.com.au@gnu.org [mailto:help-gnu-emacs-bounces+dave.humphries=3Ddytech.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 =09 =09 __________________________________ 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