Leaving this unlinked for now because I'm not sure where it belongs. Plan to write up something for regexes too.