Project

General

Profile

0001-Add-to-urlChars.patch

seezer, 03/15/2009 12:20 AM

View differences:

src/qtui/chatitem.cpp
413 413
QList<ContentsChatItem::Clickable> ContentsChatItem::findClickables() const {
414 414
  // For matching URLs
415 415
  static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)");
416
  static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]])");
416
  static QString urlChars("(?:[,.;:]*[\\w\\-~@/?&=+$()!%#*|{}\\[\\]'])");
417 417

  
418 418
  static QRegExp regExp[] = {
419 419
    // URL
420
-