1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

Fix typo in regexp

This commit is contained in:
Tux3 / Mlkj / !Lev.uXFMLA 2015-02-06 20:56:27 +01:00
parent 333471bd53
commit 148f7e6b1b
No known key found for this signature in database
GPG Key ID: 7E086DD661263264

View File

@ -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_ += "<span class=quote>" + s + "</span><br/>";
else
message_ += s + "<br/>";