CS351L - Fall 2011

Large Program Design Lab


John Donahue

Email: jdonahue@unm.edu

Turning in work: use the turnin script

Office: FEC 126

Office Hours:

Monday 2-3pm

Wednesday 1 - 2pm


Regular Expressions

September 12, 2011

Background

This lab has a different format than the ones in the past. Regular expressions require some practice and sometimes it's easier to practice if you can focus on the expression itself and not worry about the supporting code. Here I will ask you to write out 5 regular expressions. Put your answers into a text file and turn it in using the turnin script. Please refer to the link below for the questions to answer. You can download the regular expressions test harness from Orcle to help you solve the problems [see link below]

Problem set

Regular Expressions Questions.

Resources

  • Test Harness
  • Regular Expressions Cheat Sheet.
  • Grading

    For full credit, write the regular expressions that answer each of the questions.