[PC-BSD Commits] r13446 - pcbsd/current/src-qt4/pc-sysinstaller

svn at pcbsd.org svn at pcbsd.org
Wed Oct 19 09:21:52 PDT 2011


Author: kris
Date: 2011-10-19 09:21:52 -0700 (Wed, 19 Oct 2011)
New Revision: 13446

Modified:
   pcbsd/current/src-qt4/pc-sysinstaller/sys-userwidget.cpp
Log:

Fix the username regexp



Modified: pcbsd/current/src-qt4/pc-sysinstaller/sys-userwidget.cpp
===================================================================
--- pcbsd/current/src-qt4/pc-sysinstaller/sys-userwidget.cpp	2011-10-19 15:46:55 UTC (rev 13445)
+++ pcbsd/current/src-qt4/pc-sysinstaller/sys-userwidget.cpp	2011-10-19 16:21:52 UTC (rev 13446)
@@ -32,7 +32,7 @@
   //Setup any regular expressions we will need
   passwordRegExp.setPattern("([a-z]*[A-Z]*[0-9]*[!\"\xef\xbf\xbd$%^&*()_+=\xef\xbf\xbd#'`@~:?<>|{}\\-.]*)+");
 
-  usernameRegExp.setPattern("([a-z][A-Z][0-9]");
+  usernameRegExp.setPattern("[a-z][A-Z][0-9]");
 
   // Disable add / apply buttons
   pushAddUser->setEnabled(false);



More information about the Commits mailing list