From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: Regex to match "define ABC-123-xyz" Date: Fri, 1 Oct 2010 09:04:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0bd8ea78-624d-48f5-a229-af3583a6bf5d@z34g2000pro.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1291867568 3821 80.91.229.12 (9 Dec 2010 04:06:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 9 Dec 2010 04:06:08 +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 Dec 09 05:06:04 2010 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.69) (envelope-from ) id 1PQXlb-0002iw-B8 for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 05:06:03 +0100 Original-Received: from localhost ([127.0.0.1]:48961 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQXla-0006Zh-OX for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Dec 2010 23:06:02 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!z34g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-NNTP-Posting-Host: 116.73.35.230 Original-X-Trace: posting.google.com 1285949081 20734 127.0.0.1 (1 Oct 2010 16:04:41 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 1 Oct 2010 16:04:41 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: z34g2000pro.googlegroups.com; posting-host=116.73.35.230; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.10) Gecko/20100914 Firefox/3.6.10,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:181597 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:76608 Archived-At: On Oct 1, 6:59=A0pm, "Erik L. Arneson" wrote: > On Fri, 01 Oct 2010, Tim Visher wrote: > > Don't really understand what's going on. =A0I type the following into > > scratch and use `M-x regex-builder` and it works exactly as I believe > > you want it to. > > I love this group! =A0I didn't even know about `regexp-builder', and now > I'm crazy about it. =A0Thank you. > > Holy crap, that function is going to make my life easier. Thats the %^%*($$@ problem with emacs -- you are always at about 5% of what you could be doing if only... (at least thats where I am after 20 years use :-) ) In this particular case you may find John Wiegley's version http://www.newartisans.com/2007/10/a-regular-expression-ide-for-emacs.html more useful if for example you want to hack out a perl regexp.