From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Aaron Maxwell Newsgroups: gmane.emacs.help Subject: Re: Substring matched by regex Date: Sun, 13 Jan 2008 09:24:54 -0800 Message-ID: <200801130924.54294.amax@redsymbol.net> References: <200801122016.25693.amax@redsymbol.net> <86ve5y3x65.fsf@knotter.bcc.cuny.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1200245133 27058 80.91.229.12 (13 Jan 2008 17:25:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Jan 2008 17:25:33 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 13 18:25:55 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 1JE6ap-0002Ir-19 for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Jan 2008 18:25:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JE6aQ-0001oG-Qd for geh-help-gnu-emacs@m.gmane.org; Sun, 13 Jan 2008 12:25:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JE6Zv-0001f0-Es for help-gnu-emacs@gnu.org; Sun, 13 Jan 2008 12:24:59 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JE6Zt-0001dw-Pc for help-gnu-emacs@gnu.org; Sun, 13 Jan 2008 12:24:58 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JE6Zt-0001do-Hd for help-gnu-emacs@gnu.org; Sun, 13 Jan 2008 12:24:57 -0500 Original-Received: from smtp-gw51.mailanyone.net ([208.70.128.77]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JE6Zt-00050B-7j for help-gnu-emacs@gnu.org; Sun, 13 Jan 2008 12:24:57 -0500 Original-Received: from mailanyone.net by smtp-gw51.mailanyone.net with esmtpsa (TLSv1:AES256-SHA:256) (MailAnyone extSMTP redsymbol) id 1JE6Zr-0007ni-O0 for help-gnu-emacs@gnu.org; Sun, 13 Jan 2008 11:24:55 -0600 User-Agent: KMail/1.9.6 (enterprise 0.20070907.709405) In-Reply-To: <86ve5y3x65.fsf@knotter.bcc.cuny.edu> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:50695 Archived-At: On Sunday 13 January 2008 01:13:54 Nikos Apostolakis wrote: > Aaron Maxwell writes: > > In a function, how do I get the value of a string matched by a regex? > Is `match-string' what you're looking for? Yes, that's exactly it. Surprised I missed it. Ralf and Nikos, thank you. -- Aaron Maxwell http://redsymbol.net Business Owners and Self-Employed: You're NOT Alone! The Business Butler - http://businessbutler.us