diff --git a/checkin_notes b/checkin_notes index d44e6d8964..b193d801a4 100755 --- a/checkin_notes +++ b/checkin_notes @@ -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 + diff --git a/clientgui/ValidateEmailAddress.cpp b/clientgui/ValidateEmailAddress.cpp index f510a90391..67770e5b0f 100644 --- a/clientgui/ValidateEmailAddress.cpp +++ b/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;