*** empty log message ***

svn path=/trunk/boinc/; revision=9308
This commit is contained in:
Rom Walton 2006-01-25 01:41:00 +00:00
parent 71708186cd
commit 4f2fc42f42
2 changed files with 10 additions and 2 deletions

View File

@ -941,3 +941,11 @@ Charlie 24 Jan 2006
mac_build/ mac_build/
boinc.xcodeproj/ boinc.xcodeproj/
project.pbxproj 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

View File

@ -66,12 +66,12 @@ bool CValidateEmailAddress::Validate(wxWindow *parent) {
// Regular Expression found here: // Regular Expression found here:
// http://www.regexlib.com/REDetails.aspx?regexp_id=284 // 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])|" 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[" "(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-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])+(" "(([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) { if (val.Length() == 0) {
ok = FALSE; ok = FALSE;