YCP Logo Lab 1: Regular Expressions

In this lab, you will practice writing regular expressions for various simple regular languages.

To do the lab:

As you enter regular expressions, RegexEx will tell you if your regular expression is correct or incorrect. If your regexp is incorrect, RegexEx will give some examples of

  • strings that your regexp generates that are not in the language, and/or
  • strings not generated by your regexp that are in the language