Doing chapter 7 \o/

Nice "all in one" approach.  Strictly speaking, though, what you've got here is a collection of literal strings - not regex patterns.  Rather than the single-quotes, you can wrap them using qr() to denote them as regexes.