From 62a1148c02f1647f5978fe96fcdfde75bc168d8a Mon Sep 17 00:00:00 2001 From: Rasmus Karlsson Date: Mon, 31 Jul 2017 22:26:48 +0200 Subject: [PATCH] fix link regex (Thanks Cranken1337) --- src/messages/messagebuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messages/messagebuilder.cpp b/src/messages/messagebuilder.cpp index ccf3b0453..162ac1cdd 100644 --- a/src/messages/messagebuilder.cpp +++ b/src/messages/messagebuilder.cpp @@ -10,7 +10,7 @@ MessageBuilder::MessageBuilder() : _words() { _parseTime = std::chrono::system_clock::now(); - regex.setPattern("[[:ascii:]]*\\.[A-Z]+\/[[:ascii:]]+"); + regex.setPattern("[[:ascii:]]*\.[A-Z]+\\/?[[:ascii:]]*"); regex.setPatternOptions(QRegularExpression::CaseInsensitiveOption); }