Fix the `youtube' plugin
I hadn't read the docs throughly.
This commit is contained in:
parent
154163ea0a
commit
053359aaf1
@ -18,7 +18,7 @@ sys.stdout = io.TextIOWrapper (sys.__stdout__.buffer,
|
|||||||
encoding = 'iso8859-1', newline = '\r\n', line_buffering = True)
|
encoding = 'iso8859-1', newline = '\r\n', line_buffering = True)
|
||||||
|
|
||||||
re_msg = re.compile ('(?::([^! ]*)(?:!([^@]*)@([^ ]*))? +)?'
|
re_msg = re.compile ('(?::([^! ]*)(?:!([^@]*)@([^ ]*))? +)?'
|
||||||
'([^ ]+)(?: +(.*))?\n$')
|
'([^ ]+)(?: +(.*))?\r\n$')
|
||||||
re_args = re.compile (':?((?<=:).*|[^ ]+) *')
|
re_args = re.compile (':?((?<=:).*|[^ ]+) *')
|
||||||
|
|
||||||
def parse (line):
|
def parse (line):
|
||||||
|
Loading…
Reference in New Issue
Block a user