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
|
basic_pattern = links + '|' + mail + '|' + legacy_prefixes
|
||||||
|
|
||||||
link_pattern = basic_pattern
|
link_pattern = basic_pattern
|
||||||
self.link_pattern_re = re.compile(link_pattern, re.IGNORECASE |
|
self.link_pattern_re = re.compile(link_pattern, re.I | re.U)
|
||||||
re.UNICODE)
|
|
||||||
|
|
||||||
if gajim.config.get('use_latex'):
|
if gajim.config.get('use_latex'):
|
||||||
basic_pattern += latex
|
basic_pattern += latex
|
||||||
|
|
Loading…
Reference in New Issue