diff --git a/src/gajim.py b/src/gajim.py index 55ea43b4af88f9385ff4ea18c97f4a6fc89a03a2..b037c8e7ba95b5744aafb1eaab58d8b3ec204207 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -2453,7 +2453,7 @@ class Interface: emoticons_pattern = '|' + \ '(?:(?<![\w.]' + emoticons_pattern_prematch[:-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 # basic matches that may occur earlier