revert bad commit
This commit is contained in:
parent
a644ca6fa8
commit
9eba3721be
|
@ -921,7 +921,7 @@ class Interface:
|
||||||
emoticons_pattern = ''
|
emoticons_pattern = ''
|
||||||
for emoticon in self.emoticons: # travel thru emoticons list
|
for emoticon in self.emoticons: # travel thru emoticons list
|
||||||
emoticon_escaped = sre.escape(emoticon) # espace regexp metachars
|
emoticon_escaped = sre.escape(emoticon) # espace regexp metachars
|
||||||
emoticons_pattern += '^' + emoticon_escaped + '$|'# | means or in regexp
|
emoticons_pattern += emoticon_escaped + '|'# | means or in regexp
|
||||||
|
|
||||||
emot_and_basic_pattern = emoticons_pattern + basic_pattern
|
emot_and_basic_pattern = emoticons_pattern + basic_pattern
|
||||||
self.emot_and_basic_re = sre.compile(emot_and_basic_pattern,
|
self.emot_and_basic_re = sre.compile(emot_and_basic_pattern,
|
||||||
|
|
Loading…
Reference in New Issue