[Konversation-devel] [Bug 103851] Channel names with '/' characters do not get linked/highlighted entirely

ismail donmez ( cartman ) ismail at kde.org
Thu Jul 1 16:03:09 CEST 2010


https://bugs.kde.org/show_bug.cgi?id=103851





--- Comment #2 from ismail ( cartman ) donmez <ismail kde org>  2010-07-01 16:03:08 ---
commit 414899eed7d51adbfbf4dc189a1446c4edfc8b73
Author: İsmail Dönmez <ismail at kde.org>
Date:   Thu Apr 14 05:08:56 2005 +0000

    Accept / in channel name
    BUG:103851

    svn path=/trunk/kdeextragear-2/konversation/; revision=405477

diff --git a/konversation/common.cpp b/konversation/common.cpp
index c4eb449..efab254 100644
--- a/konversation/common.cpp
+++ b/konversation/common.cpp
@@ -56,7 +56,7 @@ QString tagURLs(const QString& text, const QString& fromNick,
bool useCustomColo
   }

   if(filteredLine.contains("#")) {
-    QRegExp chanExp("(^|\\s)(#[\\w+-.]{2,})");
+    QRegExp chanExp("(^|\\s)(#[\\w+-/.]{2,})");
     filteredLine.replace(chanExp, link);
   }

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Konversation-devel mailing list