Unix Support

Pattern Matching Using Regular Expressions

The handout, which is the foils reorganised for printing:

This is extended with some relatively esoteric points that most people don't need to know.

The handout

Philip Hazel's Perl regular expression exerciser:

This is an interative teaching aid, and must be downloaded and run.

The Perl exercise program

Python and Java timing harnesses, similar to pcretest, which may be useful to try out regular expressions:

The Python program

The Java program

A recommended book on actually using regular expressions, of the sort described in the course:

This edition does not mention Python as such, but earlier ones did.

Mastering Regular Expressions, Third Edition Jeffrey E.F. Friedl, O'Reilly

A good book on the theory (recommended for mathematicians only).

Introduction to automata theory, languages, and computation by John E. Hopcroft, Rajeev Motwani and Jeffrey D. Ullman, 3rd ed. (2007), Pearson Addison Wesley

The title of this document is: Pattern Matching Using Regular Expressions
URL: http://www-uxsup.csx.cam.ac.uk/courses/moved.REs/index.html