X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fqtui%2Fchatitem.cpp;h=6f1c50ce21e82f5854b456d4760e6ad00800d4fc;hp=5d520e8c8ca23b4fd52ce37071bb95b249ca68fb;hb=1eb21546673535f5707aa6346e8c749b928cd772;hpb=c902a2a58671e7d145f5e879d87100844bd20df4 diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 5d520e8c..6f1c50ce 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -309,7 +309,7 @@ void ContentsChatItem::doLayout() { QList ContentsChatItem::findClickables() const { // For matching URLs static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)"); - static QString urlChars("(?:[\\w\\-~@/?&=+$()!%#]|[,.;:]\\w)"); + static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#])"); static QRegExp regExp[] = { // URL