Fix #4375.
This commit is contained in:
parent
feab799c3e
commit
2451cb118a
|
@ -2453,7 +2453,7 @@ class Interface:
|
||||||
emoticons_pattern = '|' + \
|
emoticons_pattern = '|' + \
|
||||||
'(?:(?<![\w.]' + emoticons_pattern_prematch[:-1] + '))' + \
|
'(?:(?<![\w.]' + emoticons_pattern_prematch[:-1] + '))' + \
|
||||||
'(?:' + emoticons_pattern[:-1] + ')' + \
|
'(?:' + emoticons_pattern[:-1] + ')' + \
|
||||||
'(?:(?![\w.]' + emoticons_pattern_postmatch[:-1] + '))'
|
'(?:(?![\w]' + emoticons_pattern_postmatch[:-1] + '))'
|
||||||
|
|
||||||
# because emoticons match later (in the string) they need to be after
|
# because emoticons match later (in the string) they need to be after
|
||||||
# basic matches that may occur earlier
|
# basic matches that may occur earlier
|
||||||
|
|
Loading…
Reference in New Issue