From: Tom Dye <tsd@tsdye.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Regex reference
Date: Thu, 4 Feb 2010 12:20:52 -1000 [thread overview]
Message-ID: <2010020412205216807-tsd@tsdyecom> (raw)
In-Reply-To: mailman.700.1265310996.14305.help-gnu-emacs@gnu.org
On 2010-02-04 09:15:44 -1000, "Drew Adams" <drew.adams@oracle.com> 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
prev parent reply other threads:[~2010-02-04 22:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-04 17:59 Regex reference Tom Dye
2010-02-04 18:20 ` Joost Kremers
2010-02-04 19:15 ` Drew Adams
[not found] ` <mailman.700.1265310996.14305.help-gnu-emacs@gnu.org>
2010-02-04 22:20 ` Tom Dye [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2010020412205216807-tsd@tsdyecom \
--to=tsd@tsdye.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).