From: Sebastian Goth Date: Mon, 1 Jun 2009 10:25:53 +0000 (+0200) Subject: Add ^ to vali url chars X-Git-Tag: 0.4.3~14 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=48d0304712eb28b4d3d1fe2e50f36b3921998af8;hp=875f62ce1fc53806d4856347b0c0bc699e4b154c Add ^ to vali url chars --- diff --git a/src/qtui/chatitem.cpp b/src/qtui/chatitem.cpp index 86fb1332..d58ab0b3 100644 --- a/src/qtui/chatitem.cpp +++ b/src/qtui/chatitem.cpp @@ -413,7 +413,7 @@ void ContentsChatItem::doLayout(QTextLayout *layout) const { QList ContentsChatItem::findClickables() const { // For matching URLs static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)"); - static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]'])"); + static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]'^])"); static QRegExp regExp[] = { // URL