fixed cp35146

instances of RegexObject returned by re.compile are cached