Fix overzealous regex not letting ) be part of secondlife.com urls
Thanks to Bitten and Router for reporting and testing.
This commit is contained in:
@@ -493,7 +493,7 @@ std::string LLUrlEntrySLURL::getLocation(const std::string &url) const
|
||||
//
|
||||
LLUrlEntrySecondlifeURL::LLUrlEntrySecondlifeURL()
|
||||
{
|
||||
mPattern = boost::regex("\\b(https?://)?([-\\w\\.]*\\.)?(secondlife|lindenlab)\\.com(:\\d{1,5})?(/\\S*)?\\b",
|
||||
mPattern = boost::regex("\\b(https?://)?([-\\w\\.]*\\.)?(secondlife|lindenlab)\\.com(:\\d{1,5})?(/\\S*)?",
|
||||
boost::regex::perl|boost::regex::icase);
|
||||
|
||||
mIcon = "Hand";
|
||||
|
||||
Reference in New Issue
Block a user