Fix pcre_exec matched string

This commit is contained in:
Felipe Zimmerle
2015-10-16 16:15:39 -03:00
parent 0285c944f9
commit c800214e6d
2 changed files with 9 additions and 3 deletions

View File

@@ -30,8 +30,7 @@ bool Rx::evaluate(Assay *assay, const std::string& input) {
SMatch match;
if (regex_search(input, &match, *m_re) && match.size() >= 1) {
std::cout << "wheee" << std::endl;
// this->matched.push_back(match.match);
this->matched.push_back(match.match);
return true;
}