mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
feat(chatlog): Add custom web handler as hyperlink
This commit is contained in:
parent
2197bce610
commit
2239ebb32e
|
@ -93,6 +93,7 @@ const QVector<QRegularExpression> URI_WORD_PATTERNS = {
|
|||
QRegularExpression(QStringLiteral(R"((?<=^|\s)\S*(magnet:[?]((xt(.\d)?=urn:)|(mt=)|(kt=)|(tr=)|(dn=)|(xl=)|(xs=)|(as=)|(x.))[\S| ]+))")),
|
||||
QRegularExpression(QStringLiteral(R"((?<=^|\s)\S*(gemini://\S+))")),
|
||||
QRegularExpression(QStringLiteral(R"((?<=^|\s)\S*(ed2k://\|file\|\S+))")),
|
||||
QRegularExpression(QStringLiteral(R"((?<=^|\s)\S*(web+\S+:\S+))")),
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user