X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickable.cpp;h=3b32f267960dc64b868246db80e6c474f879ce73;hp=7acd8e228e49718f4886d911a0a08c1a4bdf9a41;hb=c1559056803360cc528c578e3458a0bae33bd56c;hpb=6ec86373070f98c4700f998d114d9a4e600f3335 diff --git a/src/uisupport/clickable.cpp b/src/uisupport/clickable.cpp index 7acd8e22..3b32f267 100644 --- a/src/uisupport/clickable.cpp +++ b/src/uisupport/clickable.cpp @@ -55,7 +55,7 @@ ClickableList ClickableList::fromString(const QString &str) // For matching URLs static QString scheme("(?:(?:mailto:|(?:[+.-]?\\w)+://)|www(?=\\.\\S+\\.))"); static QString authority("(?:(?:[,.;@:]?[-\\w]+)+\\.?|\\[[0-9a-f:.]+\\])(?::\\d+)?"); - static QString urlChars("(?:[,.;:]*[\\w~@/?&=+$()!%#*{}\\[\\]\\|'^-])"); + static QString urlChars("(?:[,.;:]*[\\w~@/?&=+$()!%#*-])"); static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)"); static QRegExp regExp[] = {