mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Replaced some qsl with u""_q literal.
This commit is contained in:
@@ -225,7 +225,7 @@ void EditLinkBox(
|
||||
|
||||
TextWithEntities StripSupportHashtag(TextWithEntities &&text) {
|
||||
static const auto expression = QRegularExpression(
|
||||
qsl("\\n?#tsf[a-z0-9_-]*[\\s#a-z0-9_-]*$"),
|
||||
u"\\n?#tsf[a-z0-9_-]*[\\s#a-z0-9_-]*$"_q,
|
||||
QRegularExpression::CaseInsensitiveOption);
|
||||
const auto match = expression.match(text.text);
|
||||
if (!match.hasMatch()) {
|
||||
|
||||
Reference in New Issue
Block a user