Practice with regular expressions

This is not a graded assignment but rather optional preparation for assignment 1. Please feel free to ask each other, David, or Emily for assistance with any aspect of this assignment, including how to get your computer set up to do it.

In this exercise, you will use grep (generalized regular expression printer) to get practice with writing regular expressions in such a way that the computer will give you feedback on how you're doing. You can find grep on dante (which is a unix system), or, on a mac with OSX, by using the terminal program.

Note: In the following, I've used "\n" to indicate that you should type return.

Getting started, on Dante:

Getting started, on a Mac

Exercises