revert bad commit
This commit is contained in:
		
							parent
							
								
									a644ca6fa8
								
							
						
					
					
						commit
						9eba3721be
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -921,7 +921,7 @@ class Interface: | |||
| 		emoticons_pattern = '' | ||||
| 		for emoticon in self.emoticons: # travel thru emoticons list | ||||
| 			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 | ||||
| 		self.emot_and_basic_re = sre.compile(emot_and_basic_pattern, | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue