Fix email addresses with non-original TLD longer than 6 characters won't get parsed properly
parent
0735a898a1
commit
07a5efafd4
|
|
@ -1535,7 +1535,7 @@ std::string LLUrlEntryJira::getUrl(const std::string &string) const
|
|||
LLUrlEntryEmail::LLUrlEntryEmail()
|
||||
: LLUrlEntryBase()
|
||||
{
|
||||
mPattern = boost::regex("(mailto:)?[\\w\\.\\-]+@[\\w\\.\\-]+\\.[a-z]{2,6}",
|
||||
mPattern = boost::regex("(mailto:)?[\\w\\.\\-]+@[\\w\\.\\-]+\\.[a-z]{2,}",
|
||||
boost::regex::perl | boost::regex::icase);
|
||||
mMenuName = "menu_url_email.xml";
|
||||
mTooltip = LLTrans::getString("TooltipEmail");
|
||||
|
|
|
|||
Loading…
Reference in New Issue