aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llchatbar.cpp
diff options
context:
space:
mode:
authorelektrahesse2010-09-15 21:14:55 +0200
committerelektrahesse2010-09-15 21:14:55 +0200
commit74363f85fa96f76c0ba83586a0d97af35bed4b4a (patch)
tree8f6e1b57dc25f96f392b6adbe76236f9ad603e22 /linden/indra/newview/llchatbar.cpp
parentAdded TAB as name completion hotkey, to be used after at least 3 chars otherw... (diff)
downloadmeta-impy-74363f85fa96f76c0ba83586a0d97af35bed4b4a.zip
meta-impy-74363f85fa96f76c0ba83586a0d97af35bed4b4a.tar.gz
meta-impy-74363f85fa96f76c0ba83586a0d97af35bed4b4a.tar.bz2
meta-impy-74363f85fa96f76c0ba83586a0d97af35bed4b4a.tar.xz
Added more punctuation support to both names autocomplete and names highlight in chat
Diffstat (limited to 'linden/indra/newview/llchatbar.cpp')
-rw-r--r--linden/indra/newview/llchatbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/newview/llchatbar.cpp b/linden/indra/newview/llchatbar.cpp
index 2009905..c7391d9 100644
--- a/linden/indra/newview/llchatbar.cpp
+++ b/linden/indra/newview/llchatbar.cpp
@@ -236,7 +236,7 @@ BOOL LLChatBar::handleKeyHere( KEY key, MASK mask )
236 left_part = txt; 236 left_part = txt;
237 } 237 }
238 238
239 std::string pattern_s = "(^|.*[\\.\\?!:;,\\*\\(\\s]+)([a-z0-9]+)$"; 239 std::string pattern_s = "(^|.*[_=&\\|\\<\\>#@\\[\\]\\-\\+\"',\\.\\?!:;\\*\\(\\)\\s]+)([a-z0-9]+)$";
240 boost::match_results<std::string::const_iterator> what; 240 boost::match_results<std::string::const_iterator> what;
241 boost::regex expression(pattern_s, boost::regex::icase); 241 boost::regex expression(pattern_s, boost::regex::icase);
242 if (boost::regex_search(to_match, what, expression, boost::match_extra)) 242 if (boost::regex_search(to_match, what, expression, boost::match_extra))