don't replace '\\' with '\\' with message-tag unescape
This commit is contained in:
parent
7f2b19cee3
commit
47841ed154
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class IRCParsedLine(object):
|
|||
return s
|
||||
|
||||
MESSAGE_TAG_ESCAPED = [r"\:", r"\s", r"\\", r"\r", r"\n"]
|
||||
MESSAGE_TAG_UNESCAPED = [";", " ", r"\\", "\r", "\n"]
|
||||
MESSAGE_TAG_UNESCAPED = [";", " ", r"\", "\r", "\n"]
|
||||
def message_tag_escape(s):
|
||||
return _multi_replace(s, MESSAGE_TAG_UNESCAPED, MESSAGE_TAG_ESCAPED)
|
||||
def message_tag_unescape(s):
|
||||
|
|
Loading…
Reference in a new issue