mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-10-01 12:07:46 +03:00
cosmetics: Having the parser in a better shape regarding operators 1/2
This commit is contained in:
committed by
Felipe Zimmerle
parent
3a413080f9
commit
9cda4c0be0
@@ -38,6 +38,10 @@ class Rx : public Operator {
|
||||
: Operator(op, param, negation) {
|
||||
m_re = new Regex(param);
|
||||
}
|
||||
Rx(std::string name, std::string param)
|
||||
: Operator(name, param) {
|
||||
m_re = new Regex(param);
|
||||
}
|
||||
|
||||
~Rx() {
|
||||
delete m_re;
|
||||
|
Reference in New Issue
Block a user