From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Xah Lee Newsgroups: gmane.emacs.help Subject: Re: force upper case of matched regex text pattern Date: Thu, 13 Mar 2008 12:50:10 -0700 (PDT) Organization: http://groups.google.com Message-ID: <43e536b5-2574-4b57-9a3a-6757f7ba4c7d@s13g2000prd.googlegroups.com> References: <841e479a-000c-4962-90f9-d2c998547f60@e25g2000prg.googlegroups.com> <87prtyh660.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205440843 23346 80.91.229.12 (13 Mar 2008 20:40:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Mar 2008 20:40:43 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Mar 13 21:41:10 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JZuEg-0002qI-FN for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Mar 2008 21:41:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JZuE7-0001uL-Ck for geh-help-gnu-emacs@m.gmane.org; Thu, 13 Mar 2008 16:40:35 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!s13g2000prd.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help,comp.emacs Original-Lines: 18 Original-NNTP-Posting-Host: 24.6.97.120 Original-X-Trace: posting.google.com 1205437811 22401 127.0.0.1 (13 Mar 2008 19:50:11 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 13 Mar 2008 19:50:11 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: s13g2000prd.googlegroups.com; posting-host=24.6.97.120; posting-account=qPxGtQkAAADb6PWdLGiWVucht1ZDR6fn User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/523.12.2 (KHTML, like Gecko) Version/3.0.4 Safari/523.12.2, gzip(gfe), gzip(gfe) Original-Xref: shelby.stanford.edu gnu.emacs.help:157017 comp.emacs:96444 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:52388 Archived-At: Niels Giesen: =C2=ABC-M-% your_regexp RET

\,(upcase \1) =2E.. please rewrite it, because as you see, you can refer to (sub)matches in the \,() environment ;) =C2=BB That's what i was looking for! Corrected. Thanks. Xah xah@xahlee.org =E2=88=91 http://xahlee.org/ =E2=98=84