Introduction
Announcements

Schedule
Labs
Assignments
TA office hours

Tests, exam

Topic videos
Some course notes
Extra problems
Lecture recordings

Discussion board

Grades so far

Regular expression syntax in unix

"Regular expressions" are not a part of CSC 209, but since you are being exposed to software tools which take them as arguments, you might want to know the syntax.

So here's a quick summary of the syntax of the most basic aspects of regular expressions, as implemented by many unix tools:

Regular expression notation is not to be confused with the much simpler (and less powerful) "glob" notation in the shell for matching file names. In the "glob" notation, an asterisk means zero or more of any characters — in the regular expression notation we would write this as ".*", not "*". And "*" by itself as a regular expression is a syntax error.