diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp
index a37f0268444fb803cdd503aa1c87df401499e0c1..a9e8fbb4e4fbfc26f8880119d86bb0c17ae65835 100644
--- a/indra/llui/llurlentry.cpp
+++ b/indra/llui/llurlentry.cpp
@@ -1134,7 +1134,7 @@ std::string LLUrlEntryWorldMap::getLocation(const std::string &url) const
 //
 LLUrlEntryNoLink::LLUrlEntryNoLink()
 {
-	mPattern = boost::regex("<nolink>[^<]*</nolink>",
+	mPattern = boost::regex("<nolink>.*?</nolink>",
 							boost::regex::perl|boost::regex::icase);
 }