Allow Unicode letters in Twitch stream tags

This commit is contained in:
WarmUpTill
2026-10-12 19:57:20 +02:00
committed by WarmUpTill
parent 170018dd51
commit 1fdf37d0fb

View File

@@ -179,7 +179,7 @@ bool TagListWidget::IsValidTag(const QString &tag)
return true;
}
QRegularExpression regex("^[A-Za-z0-9]+$"); // Only letters and digits
static const QRegularExpression regex("^[\\p{L}\\p{M}\\p{N}]+$");
return regex.match(tag).hasMatch();
}