WebStats: Extend the 'addressed-to' separator to all non-alphanumeric characters.

master
Valentin Lorentz 2012-09-03 19:25:50 +02:00
parent 77b00318b4
commit c5c89111a4
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ class WebStatsDB:
if DEBUG or random.randint(0,50) == 10:
self.refreshCache()
_regexpAddressedTo = re.compile('^(?P<nick>[^:, ]+):')
_regexpAddressedTo = re.compile('^(?P<nick>[^a-zA-Z0-9]+):')
def refreshCache(self):
"""Clears the cache tables, and populate them"""
self._truncateCache()