# | Line 45 | Line 45 | bool Matcher::match(const std::string& s | |
---|---|---|
45 | return false; | |
46 | } | |
47 | ||
48 | + | int Matcher::defaults(PCRE_MULTILINE); |
49 | + | |
50 | Matcher& Matcher::operator()(const std::string& expression) | |
51 | { | |
52 | substrings.clear(); | |
# | Line 54 | Line 56 | Matcher& Matcher::operator()(const std:: | |
56 | const char* error; | |
57 | int offset; | |
58 | ||
59 | < | this->expression = ::pcre_compile(expression.c_str(), PCRE_MULTILINE, &error, &offset, NULL); |
59 | > | this->expression = ::pcre_compile(expression.c_str(), options, &error, &offset, NULL); |
60 | ||
61 | return *this; | |
62 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |