Version: 0.17 #3011 (using KDE KDE 3.3.2) Installed from: Debian testing/unstable Packages Compiler: gcc (GCC) 3.3.5 (Debian 1:3.3.5-8) OS: Linux If someone says a channel name like #gnu/linux, only the #gnu part is highlighted and linked. It should consider / as being part of channel names.
CVS commit by cartman: Accept / in channel name BUG:103851 M +1 -1 common.cpp 1.52 --- kdeextragear-2/konversation/konversation/common.cpp #1.51:1.52 @@ -57,5 +57,5 @@ QString tagURLs(const QString& text, con if(filteredLine.contains("#")) { - QRegExp chanExp("(^|\\s)(#[\\w+-.]{2,})"); + QRegExp chanExp("(^|\\s)(#[\\w+-/.]{2,})"); filteredLine.replace(chanExp, link); }
commit 414899eed7d51adbfbf4dc189a1446c4edfc8b73 Author: İsmail Dönmez <ismail@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); }