Re: Regular Expressions Resources
Re: Regular Expressions Resources
- Subject: Re: Regular Expressions Resources
- From: "Lindsey Dubb" <email@hidden>
- Date: Sun, 7 Oct 2001 15:45:07 -0700
Phil Dobbin <email@hidden> wrote:
>
On Sun, 07 Oct 2001 12:57:41 -0400, Greg Back <email@hidden> wrote:
>
>I was just wondering if there are there any good resources on the web for
>
>regular expressions commands?
>
BBEdit 6.1 is perfect for what you're trying to achieve. Also, if you want
to open
>
up the *real* power of regular expressions, spending USD 35 on "Mastering
Regular
>
Expressions" (www.oreilly.com) by Jeffrey Friedl is the perfect companion
text
>
book.
For an introduction, I'd also suggest the docs which came with the RegEx
Commands scripting addition as well as BBEdit's chapter on regular
expressions. [I wrote the RegEx docs, so I'm a little biased on that
recommendation. ;) ]
Beware that you're choosing a hard way to start scripting -- Regular
expressions are a completely different language than AppleScript, so you'll
be working on two languages simultaneously. Also, if you want to do a lot of
automated HTML editing, regular expressions won't in the end be as useful as
a full featured text language like perl. (That's because regular expressions
aren't very good at dealing with nested data.)
9:) Lindsey Dubb email@hidden