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…
Reference in a new issue