Searched refs:cmdSrc (Results 1 – 1 of 1) sorted by relevance
139 string cmdSrc = rule.source; in IsSourceMatch() local141 if (L3_REGULAR_DESCRIPTOR == cmdSrc.substr(0, L3_REGULAR_DESCRIPTOR.length())) { in IsSourceMatch()142 cmdSrc = cmdSrc.substr(L3_REGULAR_DESCRIPTOR.length()); in IsSourceMatch()143 return regex_search(line, regex(cmdSrc)); in IsSourceMatch()147 bool isOrExp = (cmdSrc.find(L3_OR_DESCRIPTOR) == string::npos) ? false : true; in IsSourceMatch()148 bool isAndExp = (cmdSrc.find(L3_AND_DESCRIPTOR) == string::npos) ? false : true; in IsSourceMatch()150 return line.find(cmdSrc) != string::npos; in IsSourceMatch()152 return IsMatchOrExpression(line, cmdSrc); in IsSourceMatch()154 return IsMatchAndExpression(line, cmdSrc); in IsSourceMatch()