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:
Daniel Schadt 2016-05-26 15:15:53 +02:00
parent f676a599a2
commit 65e5a3fe09

View File

@ -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')