mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2025-12-30 22:51:57 -08:00
Double escaped "."
This commit is contained in:
@@ -98,7 +98,7 @@ bool Servatrice_DatabaseInterface::execSqlQuery(QSqlQuery *query)
|
||||
|
||||
bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
|
||||
{
|
||||
static QRegExp re = QRegExp("[a-zA-Z0-9_\.-]+");
|
||||
static QRegExp re = QRegExp("[a-zA-Z0-9_\\.-]+");
|
||||
return re.exactMatch(user);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user