From d3f98d02b51f841139194c91c0a85e414e27a98b Mon Sep 17 00:00:00 2001 From: Tank_Master Date: Fri, 28 Feb 2014 18:37:08 -0800 Subject: [PATCH] Add FITMESH to jira parcer --- indra/llui/llurlentry.cpp | 4 ++-- indra/llui/llurlregistry.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/indra/llui/llurlentry.cpp b/indra/llui/llurlentry.cpp index 3db1f380d0..c16a9419fc 100755 --- a/indra/llui/llurlentry.cpp +++ b/indra/llui/llurlentry.cpp @@ -1238,8 +1238,8 @@ std::string LLUrlEntryIcon::getIcon(const std::string &url) // LLUrlEntryJira::LLUrlEntryJira() { - // Please make sure to sync these with the items in LLURLRegistry::stringHasJira() if you make a change - mPattern = boost::regex("((?:ARVD|BUG|CHOP|CHUIBUG|DOC|DN|ECC|EXP|FIRE|LEAP|LLSD|MATBUG|MISC|OPEN|PATHBUG|PLAT|PYO|SCR|SH|SINV|SLS|SOCIAL|STORM|SUN|SVC|SPOT|SUN|SUP|TPV|VWR|WEB)-\\d+)", + // Please make sure to sync these with the items in "static bool stringHasJira(const std::string &text)" if you make a change + mPattern = boost::regex("((?:ARVD|BUG|CHOP|CHUIBUG|DOC|DN|ECC|EXP|FIRE|FITMESH|LEAP|LLSD|MATBUG|MISC|OPEN|PATHBUG|PLAT|PYO|SCR|SH|SINV|SLS|SOCIAL|STORM|SUN|SVC|SPOT|SUN|SUP|TPV|VWR|WEB)-\\d+)", // FIRE-917: Match case to reduce number of false positives //boost::regex::perl|boost::regex::icase); boost::regex::perl); diff --git a/indra/llui/llurlregistry.cpp b/indra/llui/llurlregistry.cpp index b4686bd40f..ab41626474 100755 --- a/indra/llui/llurlregistry.cpp +++ b/indra/llui/llurlregistry.cpp @@ -172,6 +172,7 @@ static bool stringHasJira(const std::string &text) text.find("ECC") != std::string::npos || text.find("EXP") != std::string::npos || text.find("FIRE") != std::string::npos || + text.find("FTIMSH") != std::string::npos || text.find("LEAP") != std::string::npos || text.find("LLSD") != std::string::npos || text.find("MATBUG") != std::string::npos ||