clear the regular expression cache when done with make_regexps

This commit is contained in:
Nikos Kouremenos 2005-11-27 21:57:41 +00:00
parent bb977a5848
commit 45cade3693
1 changed files with 2 additions and 0 deletions

View File

@ -1110,6 +1110,8 @@ class Interface:
# at least one character in 3 parts (before @, after @, after .)
self.sth_at_sth_dot_sth_re = sre.compile(r'\S+@\S+\.\S*[^\s)?]')
sre.purge() # clear the regular expression cache
def on_emoticon_sort(self, emot1, emot2):
len1 = len(emot1)