Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
1f9b1d78
Commit
1f9b1d78
authored
Apr 17, 2015
by
Matt Lowe
Browse files
Double escaped "."
parent
bba95392
Changes
1
Hide whitespace changes
Inline
Side-by-side
servatrice/src/servatrice_database_interface.cpp
View file @
1f9b1d78
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment