Don't use the regex module
Merge pull request #1843 from twpayne/no-regex

Don't use the regex module