# | Line 6 | Line 6 | |
---|---|---|
6 | ||
7 | #include "Matcher.hpp" | |
8 | ||
9 | + | Matcher::~Matcher() |
10 | + | { |
11 | + | // |
12 | + | } |
13 | + | |
14 | bool Matcher::match(const string& stuff) | |
15 | { | |
16 | // | |
17 | ||
18 | return false; | |
19 | } | |
20 | + | |
21 | + | Matcher& Matcher::operator()(const string& expression) |
22 | + | { |
23 | + | this->expression = pcre_compile(expression.c_str(), 0, NULL, NULL, NULL); |
24 | + | |
25 | + | return *this; |
26 | + | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |