commit | b67a25c0794d4a2c4f4907a8eb021750c11b1de4 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Tue Feb 18 18:52:55 1997 +0000 |
committer | Barry Warsaw <barry@python.org> | Tue Feb 18 18:52:55 1997 +0000 |
tree | 83573561ad811a8afd7d3cc15be97e9ee75210ff | |
parent | 909d7c3284c84dd50574aca78c59ed4fea3de4b0 [diff] |
Store the current regex syntax along with the regular expression string as the key to the cache. This means that changing the syntax will return the correct compiled pattern. clear_cache(): New function.