From 148f7e6b1b9a27543dde57a7c68b405d79ef470c Mon Sep 17 00:00:00 2001 From: "Tux3 / Mlkj / !Lev.uXFMLA" Date: Fri, 6 Feb 2015 20:56:27 +0100 Subject: [PATCH] Fix typo in regexp --- src/widget/tool/chatactions/messageaction.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/widget/tool/chatactions/messageaction.cpp b/src/widget/tool/chatactions/messageaction.cpp index e8fa04efd..0bfddea76 100644 --- a/src/widget/tool/chatactions/messageaction.cpp +++ b/src/widget/tool/chatactions/messageaction.cpp @@ -63,7 +63,7 @@ QString MessageAction::getMessage(QString div) message_ = ""; for (QString& s : messageLines) { - if (QRegExp("^>( |[\[]|>|[^_\\d\\W]).*").exactMatch(s)) + if (QRegExp("^>( |[[]|>|[^_\\d\\W]).*").exactMatch(s)) message_ += "" + s + "
"; else message_ += s + "
";