From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Dye Newsgroups: gmane.emacs.help Subject: Re: Regex reference Date: Thu, 4 Feb 2010 12:20:52 -1000 Organization: http://www.panic.com/unison/ Message-ID: <2010020412205216807-tsd@tsdyecom> References: <2010020407591216807-tsd@tsdyecom> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1265324777 21461 80.91.229.12 (4 Feb 2010 23:06:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 23:06:17 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 05 00:06:13 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 1NdAm1-0007Am-Q0 for geh-help-gnu-emacs@m.gmane.org; Fri, 05 Feb 2010 00:06:10 +0100 Original-Received: from localhost ([127.0.0.1]:44006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NdAm1-0002U9-1u for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Feb 2010 18:06:09 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe25.iad.POSTED!7516a8b1!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Unison/1.8.1 Original-Lines: 46 Original-X-Complaints-To: http://www.panic.com/unison/dmca.html Original-NNTP-Posting-Date: Thu, 04 Feb 2010 22:20:52 UTC Original-Xref: news.stanford.edu gnu.emacs.help:176619 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:71689 Archived-At: On 2010-02-04 09:15:44 -1000, "Drew Adams" said: > Aloha. > >> Aloha all, >> >> I'm able to use regular expressions in LISP strings fairly regularly >> for simple situations. I'd like to get better at this, so that it is >> easier for me to conceptualize possible solutions to more complex >> problems. Can anyone offer either print or on-line references that >> might help me think about regular expressions in LISP strings more >> effectively? I need something more than a concise >> description of each character, something that will help me find the >> right frame of mind (so to speak). > > This might help: > > http://www.emacswiki.org/emacs/RegularExpression#LearningRegexps > > The more you use regexps in Emacs, the more you will learn about them. Using > them interactively is a great way to practice. > > Many Emacs commands let you use regexps. You can get used to using regexps in > Emacs commands by starting with simple patterns. The important thing is to get > in the practice of using them. And remember that an ordinary string of chars > that does not have any regexp special chars is itself a (very simple) regexp. > > If you want to learn more about regexps, including some of the theory, some > background on implementation and algorithms, and some comparison of regexp > features and syntax in different languages, I know of no better book > than this - > I (and many others) recommend it strongly. > > http://oreilly.com/catalog/9781565922570 > > Have fun. Thanks to Drew and Joost for references in 3 media: emacs, Internet, and print. I really appreciate your help. Tom -- Tom Dye T. S. Dye & Colleagues, Archaeologists, Inc. Honolulu, Hawai`i