mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-10-19 06:59:31 -05:00
Allow Unicode letters in Twitch stream tags
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user