[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenonbeta/kopete/libkopete
From:       Jason Keirstead <jason () keirstead ! org>
Date:       2003-03-28 14:40:20
[Download RAW message or body]

CVS commit by brunes: 

Argh, - char is also valid


  M +1 -1      kopetemessage.cpp   1.78


--- kdenonbeta/kopete/libkopete/kopetemessage.cpp  #1.77:1.78
@@ -291,5 +291,5 @@ QString KopeteMessage::parseLinks( const
 
         //Replace http/https/ftp links
-        result.replace( QRegExp( \
QString::fromLatin1("\\b((http://\\w|ftp://\\w|https://\\w|www\\.)[\\w\\.]+[\\w\\./#&;:=\\?~%]*)\\b") \
), QString::fromLatin1("<a href=\"\\1\">\\1</a>" ) ); +        result.replace( \
QRegExp( QString::fromLatin1("\\b((http://\\w|ftp://\\w|https://\\w|www\\.)[\\w\\.]+[\\w\\./#&;:=\\?~%-]*)\\b") \
), QString::fromLatin1("<a href=\"\\1\">\\1</a>" ) );  
         return result;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic