Use contracted form for RE flags

This commit is contained in:
Alexander Cherniuk 2010-03-26 21:23:05 +02:00
parent 48cd4d796a
commit 49b49cf8fc
1 changed files with 1 additions and 2 deletions

View File

@ -2478,8 +2478,7 @@ class Interface:
basic_pattern = links + '|' + mail + '|' + legacy_prefixes
link_pattern = basic_pattern
self.link_pattern_re = re.compile(link_pattern, re.IGNORECASE |
re.UNICODE)
self.link_pattern_re = re.compile(link_pattern, re.I | re.U)
if gajim.config.get('use_latex'):
basic_pattern += latex