From 65e5a3fe09b2197c247f42f2c1e29819c8d414a5 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 26 May 2016 15:15:53 +0200 Subject: [PATCH] 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 . --- tests/end2end/fixtures/quteprocess.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/end2end/fixtures/quteprocess.py b/tests/end2end/fixtures/quteprocess.py index df74279d3..c8768a926 100644 --- a/tests/end2end/fixtures/quteprocess.py +++ b/tests/end2end/fixtures/quteprocess.py @@ -87,7 +87,7 @@ class LogLine(testprocess.Line): self.full_message = line['message'] msg_match = re.match(r'^(\[(?P\d+s ago)\] )?(?P.*)', - self.full_message) + self.full_message, re.DOTALL) self.prefix = msg_match.group('prefix') self.message = msg_match.group('message')