diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 45c8a6865f4e008122b763dab333f21a30e0b184..5d9508f7c269637aab71ccf4ef7b12f01dc8b3ac 100755 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -934,7 +934,7 @@ std::string LLUrlEntryInventory::getLabel(const std::string &url, const LLUrlLab // LLUrlEntryObjectIM::LLUrlEntryObjectIM() { - mPattern = boost::regex("secondlife:///app/objectim/[\\da-f-]+\?.*", + mPattern = boost::regex(APP_HEADER_REGEX "/objectim/[\\da-f-]+\?.*", boost::regex::perl|boost::regex::icase); mMenuName = "menu_url_objectim.xml"; }