A simple Python regular expression library.