Regular Expressions - Michael Paoli ("alternate" site)
Regular Expressions - some stuff I (Michael Paoli) have given
talks/presentations on, related resources, etc.
- "slides" (Open Office Impress format)
These are the presentation slides I used (or latest revision thereof).
(First) presented at Bay Area Linux Users Group (BALUG) 2009-07-21
- table/matrix (Open Office Calc format)
A semi-reasonable attempt to start to make a fairly comprehensive table/matrix of regular expression (meta)syntax, along with basic descriptions, vs. various flavors/tools/utilities/languages/libraries. Before I started putting it together, I was hoping I might find something like it (and better) on The Internet - but at fairly quick inspection, I couldn't find something as comprehensive (I could find detailed information or tables about regular expressions for a particular tool/language/library, or a bunch of regular expression (meta) syntax vs. a few major flavors (e.g. Basic Regular Expressions (BRE) and Extended Regular Expressions (ERE) from POSIX + perhaps a few more) - but I was unable to find something that covered most or all of the regular expression (meta)syntax I wanted to cover vs. not only the
"flavors", but also at least many of the common tools/languages, etc.)
So ... I whipped one up :-) ... fairly quickly ... mostly off the top of my head. No guarantees it's 100% accurate (probably about 98.5%, plus or minus a bit). In the table, y or yes indicates yes, supported, n or no indicates not supported, empty cell I wasn't certain enough to guess with particularly high confidence (e.g. I think Apache's mod_rewrite covers the perl stuff relatively thorougly, but without recollection of having specifically excercised most of it, I didn't want to imply high confidence that it would in fact support most of it (though it probably does)). Various other bits in cells indicates other bits - e.g. particular of various alternative syntax or other items of note (e.g. C - specific to C-shells). The stuff I put down in green I'd actually verified (specifically tested on one or more versions to confirm, etc. - the stuff in yellow I haven't actually fully checked/verified. Might be cool to write some testing code that would exercise all the various regular expression (meta)syntax and note (e.g. output as table :-)) what did and/or didn't work on various tools/languages, etc. My thoughts were to initially put it into a wiki table - so other folks could extend/correct/annotate and generally improve it etc. ... but it was much faster for me to quickly put it into a
(well, "spreadsheet", anyway - quick way to effectively do that).
Anyway, maybe some day I'll put it into a wiki page - but in at least the meantime it's here.
- notes (to self)
Some notes I wrote for myself - mostly to remind myself of other stuff I'd probably want to mention while going through the slides that I might not think of just from looking at the slide. Not really intended for consumption by others, but may be interesting/informative nevertheless. For the presentation I did 2009-07-21 I didn't really look at these notes enough while doing the presentation - see also item below
- self-critique I wrote up on my 2009-07-21 presentation (Were you there? Got feedback? Send it to me :-) Okay, maybe I'm a bit critical on my self evaluation(s) - but I figure for most anything/anyone there's always room for improvement)
- Demonstration bits - at least thus far wee bit of demonstration I did at 2009-07-21 presentation (I may annotate it or add more stuff later).
- Select References (see also towards end of "slides" noted above