[Konversation-devel] [Bug 98647] do not highlight short channel names like #6 or #x

ismail cartman donmez ismail at kde.org.tr
Sat Feb 5 23:44:05 CET 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=98647         
ismail kde org tr changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From ismail kde org tr  2005-02-05 23:44 -------
CVS commit by cartman: 

Omit single character channel names when building channel links
BUG:98647


  M +6 -7      common.cpp   1.32


--- kdeextragear-2/konversation/konversation/common.cpp  #1.31:1.32
 @ -51,5 +51,5  @ QString tagURLs(const QString& text, con
   if(filteredLine.contains("#"))
     {
-      QRegExp chanExp("(?:^|\\s)#[^\\s\\x0007,]+");
+      QRegExp chanExp("(?:^|\\s)#[^\\s\\x0007,]{2,}");
 
       while((pos = chanExp.search(filteredLine, pos)) >= 0)


More information about the Konversation-devel mailing list