aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra
diff options
context:
space:
mode:
authorelektrahesse2010-09-13 05:00:58 +0200
committerelektrahesse2010-09-13 05:00:58 +0200
commit72faf5ba993d5540efda363ce935c46e9ff762d0 (patch)
tree6969e721436ed603e0aa39887d15d7f6aea3f32f /linden/indra
parentInitial support for names autocompletion in chat using ctrl-esc (diff)
downloadmeta-impy-72faf5ba993d5540efda363ce935c46e9ff762d0.zip
meta-impy-72faf5ba993d5540efda363ce935c46e9ff762d0.tar.gz
meta-impy-72faf5ba993d5540efda363ce935c46e9ff762d0.tar.bz2
meta-impy-72faf5ba993d5540efda363ce935c46e9ff762d0.tar.xz
Added ' support for punctuation matching
Diffstat (limited to 'linden/indra')
-rw-r--r--linden/indra/newview/llfloaterchat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llfloaterchat.cpp b/linden/indra/newview/llfloaterchat.cpp
index c956aba..b1c1356 100644
--- a/linden/indra/newview/llfloaterchat.cpp
+++ b/linden/indra/newview/llfloaterchat.cpp
@@ -456,7 +456,7 @@ void LLFloaterChat::updateSettings()
456BOOL LLFloaterChat::isOwnNameInText(const std::string &text_line) 456BOOL LLFloaterChat::isOwnNameInText(const std::string &text_line)
457{ 457{
458 std::string my_name = gSavedSettings.getString("FirstName"); 458 std::string my_name = gSavedSettings.getString("FirstName");
459 std::string pattern_s = "(^|.*[,\\.\\?!:;\\*\\(\\s]+)(" + my_name + ")([,\\.\\?!:;\\*\\)\\s]+.*|$)"; 459 std::string pattern_s = "(^|.*[',\\.\\?!:;\\*\\(\\s]+)(" + my_name + ")([',\\.\\?!:;\\*\\)\\s]+.*|$)";
460 boost::smatch what; 460 boost::smatch what;
461 boost::regex e1(pattern_s, boost::regex::icase); 461 boost::regex e1(pattern_s, boost::regex::icase);
462 462