diff --git a/python/glitter.py b/python/glitter.py index b2c84b6b..4df4b806 100644 --- a/python/glitter.py +++ b/python/glitter.py @@ -9,7 +9,7 @@ if weechat.register(SCRIPT_NAME, SCRIPT_AUTHOR, SCRIPT_VERSION, SCRIPT_LICENSE, SCRIPT_DESC, "", ""): weechat.hook_command_run("/input return", "command_run_input", "") -glitter_pat = re.compile("\*\*\*([^\*]+)\*\*\*") +glitter_pat = re.compile(r"\*\*\*([^*]+)\*\*\*") def glitter_it(match): lut = ("13","4","8","9","11","12") # len=6 text = match.group(1)