mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Escaped additional punctuation
This commit is contained in:
parent
d76073cdd1
commit
23b163341e
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
|
|||
regEx.append("A-Z");
|
||||
if(settingsCache->value("users/allownumerics", true).toBool())
|
||||
regEx.append("0-9");
|
||||
regEx.append(allowedPunctuation);
|
||||
regEx.append(QRegExp::escape(allowedPunctuation));
|
||||
regEx.append("]+");
|
||||
|
||||
static QRegExp re = QRegExp(regEx);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue