fix link regex (Thanks Cranken1337)

This commit is contained in:
Rasmus Karlsson 2017-07-31 22:26:48 +02:00
parent 3010e6303a
commit 62a1148c02

View file

@ -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);
}