diff options
author | Jacek Antonelli | 2008-12-09 22:25:37 -0600 |
---|---|---|
committer | Jacek Antonelli | 2008-12-09 22:25:41 -0600 |
commit | 22b861982f2efd5d16097a012627e73b9fb85834 (patch) | |
tree | 6152a84b92c682e271bdd52d46cd1728454f679a /linden/indra/newview/llfloaterpostcard.cpp | |
parent | Second Life viewer sources 1.22.1-RC (diff) | |
download | meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.zip meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.gz meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.bz2 meta-impy-22b861982f2efd5d16097a012627e73b9fb85834.tar.xz |
Second Life viewer sources 1.22.2-RC
Diffstat (limited to 'linden/indra/newview/llfloaterpostcard.cpp')
-rw-r--r-- | linden/indra/newview/llfloaterpostcard.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterpostcard.cpp b/linden/indra/newview/llfloaterpostcard.cpp index 4be8145..a3a7527 100644 --- a/linden/indra/newview/llfloaterpostcard.cpp +++ b/linden/indra/newview/llfloaterpostcard.cpp | |||
@@ -245,7 +245,7 @@ void LLFloaterPostcard::onClickSend(void* data) | |||
245 | std::string from(self->childGetValue("from_form").asString()); | 245 | std::string from(self->childGetValue("from_form").asString()); |
246 | std::string to(self->childGetValue("to_form").asString()); | 246 | std::string to(self->childGetValue("to_form").asString()); |
247 | 247 | ||
248 | boost::regex emailFormat("[A-Za-z0-9.%+-_]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}"); | 248 | boost::regex emailFormat("[A-Za-z0-9.%+-_]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,}(,[ \t]*[A-Za-z0-9.%+-_]+@[A-Za-z0-9.-]+\\.[A-Za-z]{2,})*"); |
249 | 249 | ||
250 | if (to.empty() || !boost::regex_match(to, emailFormat)) | 250 | if (to.empty() || !boost::regex_match(to, emailFormat)) |
251 | { | 251 | { |