[Syllabus] [Previous Lecture] [Next Lecture]

Regular expressions


Regular expressions come in many forms. The syntax we use in class is much simpler than the syntax used by, say, the UNIX grep command, but both have equivalent descriptive power.

Regular expressions, though a bit difficult to construct and to read, are incredibly useful in searching text. They have been incorporated into almost all modern programming languages, and all but the simplest text editors.


Copyright © 1996 by David Matuszek
Last modified Feb 4, 1996