2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

Allow '@' in search posts queries.

This commit is contained in:
John Preston
2025-08-04 11:51:42 +04:00
parent 1f8d3ed911
commit a96874ac55

View File

@@ -22,7 +22,7 @@ constexpr auto kPerPage = 50;
[[nodiscard]] const QRegularExpression &SearchSplitter() {
static const auto result = QRegularExpression(QString::fromLatin1(""
"[\\@\\s\\-\\+\\(\\)\\[\\]\\{\\}\\<\\>\\,\\.\\!\\_\\;\\\"\\'\\x0]"));
"[\\s\\-\\+\\(\\)\\[\\]\\{\\}\\<\\>\\,\\.\\!\\_\\;\\\"\\'\\x0]"));
return result;
}