mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-23 15:13:55 -07:00
Double escaped "."
This commit is contained in:
parent
bba9539229
commit
1f9b1d78bc
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ bool Servatrice_DatabaseInterface::execSqlQuery(QSqlQuery *query)
|
||||||
|
|
||||||
bool Servatrice_DatabaseInterface::usernameIsValid(const QString &user)
|
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);
|
return re.exactMatch(user);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue