From 18e82fea114ddb717e88e048c9140236dc677cc0 Mon Sep 17 00:00:00 2001 From: Gui Chen Date: Sat, 8 Oct 2011 12:52:36 +0800 Subject: [PATCH] Fix multi-line error msg fully showed Signed-off-by: Gui Chen --- mic/msger.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mic/msger.py b/mic/msger.py index 558e188..0775b8c 100644 --- a/mic/msger.py +++ b/mic/msger.py @@ -43,7 +43,7 @@ ERR_COLOR = 31 # red ASK_COLOR = 34 # blue NO_COLOR = 0 -PREFIX_RE = re.compile('^<(.*?)>\s*(.*)') +PREFIX_RE = re.compile('^<(.*?)>\s*(.*)', re.S) INTERACTIVE = True -- 2.7.4