Use contracted form for RE flags
This commit is contained in:
parent
48cd4d796a
commit
49b49cf8fc
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue