Add ^ to vali url chars
authorSebastian Goth <seezer@roath.org>
Mon, 1 Jun 2009 10:25:53 +0000 (12:25 +0200)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sun, 7 Jun 2009 15:34:34 +0000 (17:34 +0200)
src/qtui/chatitem.cpp

index 86fb133..d58ab0b 100644 (file)
@@ -413,7 +413,7 @@ void ContentsChatItem::doLayout(QTextLayout *layout) const {
 QList<ContentsChatItem::Clickable> ContentsChatItem::findClickables() const {
   // For matching URLs
   static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)");
-  static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]'])");
+  static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]'^])");
 
   static QRegExp regExp[] = {
     // URL