mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9308
This commit is contained in:
parent
71708186cd
commit
4f2fc42f42
|
@ -941,3 +941,11 @@ Charlie 24 Jan 2006
|
|||
mac_build/
|
||||
boinc.xcodeproj/
|
||||
project.pbxproj
|
||||
|
||||
Rom 24 Jan 2006
|
||||
- Bug Fix: Fix a blocking compilation issue on the Mac with the new
|
||||
email validation class.
|
||||
|
||||
clientgui/
|
||||
ValidateEmailAddress.cpp
|
||||
|
||||
|
|
|
@ -66,12 +66,12 @@ bool CValidateEmailAddress::Validate(wxWindow *parent) {
|
|||
|
||||
// Regular Expression found here:
|
||||
// http://www.regexlib.com/REDetails.aspx?regexp_id=284
|
||||
wxRegEx reEmail =
|
||||
wxRegEx reEmail(
|
||||
wxT("^([a-zA-Z0-9_\\-])+(\\.([a-zA-Z0-9_\\-])+)*@((\\[(((([0-1])?([0-9])?[0-9])|"
|
||||
"(2[0-4][0-9])|(2[0-5][0-5])))\\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2["
|
||||
"0-5][0-5])))\\.(((([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5])))\\.(("
|
||||
"(([0-1])?([0-9])?[0-9])|(2[0-4][0-9])|(2[0-5][0-5]))\\]))|((([a-zA-Z0-9])+("
|
||||
"([\\-])+([a-zA-Z0-9])+)*\\.)+([a-zA-Z])+(([\\-])+([a-zA-Z0-9])+)*))$");
|
||||
"([\\-])+([a-zA-Z0-9])+)*\\.)+([a-zA-Z])+(([\\-])+([a-zA-Z0-9])+)*))$"));
|
||||
|
||||
if (val.Length() == 0) {
|
||||
ok = FALSE;
|
||||
|
|
Loading…
Reference in New Issue