quteproc: match message with re.DOTALL
Since they may now contain newlines, we need to get the whole message, which are otherwise not included in .
This commit is contained in:
parent
f676a599a2
commit
65e5a3fe09
@ -87,7 +87,7 @@ class LogLine(testprocess.Line):
|
||||
|
||||
self.full_message = line['message']
|
||||
msg_match = re.match(r'^(\[(?P<prefix>\d+s ago)\] )?(?P<message>.*)',
|
||||
self.full_message)
|
||||
self.full_message, re.DOTALL)
|
||||
self.prefix = msg_match.group('prefix')
|
||||
self.message = msg_match.group('message')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user