diff --git a/checkin_notes b/checkin_notes index dcccf1c75e..c6bc8a33df 100755 --- a/checkin_notes +++ b/checkin_notes @@ -12471,3 +12471,10 @@ David 9 Nov 2006 clientgui/ AdvancedFrame.cpp ViewResources.cpp + +David 9 Nov 2006 + - manager: fix regexp for email address check + (remove / at start and end). + + clientgui/ + ValidateEmailAddress.cpp diff --git a/clientgui/ValidateEmailAddress.cpp b/clientgui/ValidateEmailAddress.cpp index 5245e5390d..40e9a23fa3 100644 --- a/clientgui/ValidateEmailAddress.cpp +++ b/clientgui/ValidateEmailAddress.cpp @@ -66,7 +66,7 @@ bool CValidateEmailAddress::Validate(wxWindow *parent) { // Regular Expression from Frank S. Thomas wxRegEx reEmail( - wxT("/^([^@]+)@([^@\\.]+)\\.([^@]{2,})$/")); + wxT("^([^@]+)@([^@\\.]+)\\.([^@]{2,})$")); if (val.Length() == 0) { ok = FALSE;