0001-Add-to-urlChars.patch
| 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 |
- |
|