diff --git a/src/common/helpers.py b/src/common/helpers.py index 988df203d..09a791dd2 100644 --- a/src/common/helpers.py +++ b/src/common/helpers.py @@ -459,7 +459,7 @@ def get_output_of_command(command): return output def get_windows_reg_env(varname, default=''): - """ + r""" Ask for paths commonly used but not exposed as ENVs in english Windows 2003 those are: 'AppData' = %USERPROFILE%\Application Data (also an ENV) diff --git a/src/gui_interface.py b/src/gui_interface.py index d06a379d0..7967fefb5 100644 --- a/src/gui_interface.py +++ b/src/gui_interface.py @@ -1943,9 +1943,9 @@ class Interface: # We match from our list of emoticons, but they must either have # whitespace, or another emoticon next to it to match successfully # [\w.] alphanumeric and dot (for not matching 8) in (2.8)) - emoticons_pattern = '|' + '(?:(?