list comprehensions and regex "handout"

Which I wrote in markdown, so thought the site would be the appropriate place for..