Idiot's guide to regular expressions?

Jim Bufalini jim at visitrieve.com
Mon Sep 28 18:06:52 EDT 2009


Graham Samuel wrote:

> The RunRev docs yield the explanation and definition of regular
> expressions, used for example in the matchText function, to the
> following link:
> 
> <http://www.pcre.org/man.txt>
> 
> 
> while doubtless definitive, this amounts to an academic thesis of many
> many pages, and of little practical use to folks not brought up on
> Unix, such as myself, who don't have quite a few hours to spare.
> 
> Of course there is no shortage of other texts on regex to be found on
> Google, but can anyone suggest a concise primer that will help me
> parse ascii strings without too many tears? If there is one, maybe
> it's time to suggest that RunRev mention it in the documentation.

There is a pretty nice site that comes very close to, if not exactly, what
you are looking for:

http://www.regular-expressions.info/examples.html

I believe they also have a book they sell that goes into even more detail.
All the regex on here works on Rev.

Aloha from Hawaii,

Jim Bufalini




More information about the use-livecode mailing list