X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Fclickable.cpp;h=df2d3dc44e8515e4aa689b0fb19fe21c02ccfb12;hp=54efc989c0f7f691f24f9f3b0f7c421464ec6c37;hb=da8cd8b2d294b0fa614b334d081550f37693b47f;hpb=591c652f2d17fe47b6b833bbdc14fa0af14da42f diff --git a/src/uisupport/clickable.cpp b/src/uisupport/clickable.cpp index 54efc989..df2d3dc4 100644 --- a/src/uisupport/clickable.cpp +++ b/src/uisupport/clickable.cpp @@ -52,7 +52,7 @@ ClickableList ClickableList::fromString(const QString &str) { // For matching URLs static QString scheme("(?:(?:mailto:|(?:[+.-]?\\w)+://)|www(?=\\.\\S+\\.))"); static QString authority("(?:[,.;@:-]?\\w+)+(?::\\d+)?"); - static QString urlChars("(?:[,.;:\\w~@/?&=+$()!%#*|{}\\[\\]'^-])"); + static QString urlChars("(?:[,.;:\\w~@/?&=+$()!%#*{}\\[\\]'^-])"); static QString urlEnd("(?:>|[,.;:\"]*\\s|\\b|$)"); static QRegExp regExp[] = {