Replace "," by "~" in foreground/background color separation
This is to follow the change made in WeeChat 2.6 (weechat/weechat#1264).
This commit is contained in:
parent
bb96884151
commit
b0b61081ed
@ -31,7 +31,7 @@ RE_COLOR_EXT = r'(?:@%s\d{5})' % RE_COLOR_ATTRS
|
|||||||
RE_COLOR_ANY = r'(?:%s|%s)' % (RE_COLOR_STD, RE_COLOR_EXT)
|
RE_COLOR_ANY = r'(?:%s|%s)' % (RE_COLOR_STD, RE_COLOR_EXT)
|
||||||
# \x19: color code, \x1A: set attribute, \x1B: remove attribute, \x1C: reset
|
# \x19: color code, \x1A: set attribute, \x1B: remove attribute, \x1C: reset
|
||||||
RE_COLOR = re.compile(
|
RE_COLOR = re.compile(
|
||||||
r'(\x19(?:\d{2}|F%s|B\d{2}|B@\d{5}|E|\\*%s(,%s)?|@\d{5}|b.|\x1C))|\x1A.|'
|
r'(\x19(?:\d{2}|F%s|B\d{2}|B@\d{5}|E|\\*%s(~%s)?|@\d{5}|b.|\x1C))|\x1A.|'
|
||||||
r'\x1B.|\x1C'
|
r'\x1B.|\x1C'
|
||||||
% (RE_COLOR_ANY, RE_COLOR_ANY, RE_COLOR_ANY))
|
% (RE_COLOR_ANY, RE_COLOR_ANY, RE_COLOR_ANY))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user