This commit is contained in:
js 2008-10-05 10:21:35 +00:00
parent feab799c3e
commit 2451cb118a
1 changed files with 1 additions and 1 deletions

View File

@ -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