Adds macro expansion for all operators

This commit is contained in:
Felipe Zimmerle
2015-09-16 11:25:07 -03:00
parent 320bcde89e
commit 9d60dc6df8
15 changed files with 49 additions and 19 deletions

View File

@@ -36,13 +36,13 @@ class Rx : public Operator {
/** @ingroup ModSecurity_Operator */
Rx(std::string op, std::string param, bool negation)
: Operator(op, param, negation),
m_re(param) { }
m_param(param) { }
bool evaluate(Assay *assay, const std::string &input);
std::list<std::string> matched;
private:
Regex m_re;
std::string m_param;
};