Regular Expressions (regex for short) is a language of
pattern recognition for searching, matching, and replacement in strings. It is a
challenging topic - do not be intimidated!
Whether you have used regular expressions before or not, even if you just pick
up a couple of new tricks in this chapter, you will be way ahead for your learning
in the future. As you see them in use, you will slowly pick up examples that you
can use yourself later.
Your progression in learning to recognize and use regular expressions is going to
go something like this:
"Oh, they used a regular expression!"
"I can read that regular expression!"
"Why does that match that?!"
"I can explain what that matches!"
The best advice that I can give you is: read regular expressions quite
literally and do not expect to understand every application the first time you
read it.
Assessment deadlines will be 11:59pm each Saturday.
All assessments are submitted to the Homework Folder inside your assigned
Google Drive folder.
There are no make-ups for missed assessments. Contact me before a deadline
if you have an issue meeting the deadline and we will find a mutually
agreeable solution.
Homework
Homework 10 (due Saturday, March 22)
The instructions for your homework are contained in the R script
file
homework_10.R.