Add FITMESH to jira parcer

meow-7.2.2
Tank_Master 2014-02-28 18:37:08 -08:00
parent 4c8de4ec95
commit d3f98d02b5
2 changed files with 3 additions and 2 deletions

View File

@ -1238,8 +1238,8 @@ std::string LLUrlEntryIcon::getIcon(const std::string &url)
//
LLUrlEntryJira::LLUrlEntryJira()
{
// <FS:CR> 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+)",
// <FS:CR> 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+)",
// <FS:Ansariel> FIRE-917: Match case to reduce number of false positives
//boost::regex::perl|boost::regex::icase);
boost::regex::perl);

View File

@ -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 ||