From bc74af97ba487b7200a54ab8f24e980540eb230b Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 9 Nov 2006 18:32:55 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=11505 --- checkin_notes | 7 +++++++ clientgui/ValidateEmailAddress.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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;