ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/repos/Matcher/STL/Matcher.cpp
(Generate patch)

Comparing Matcher/STL/Matcher.cpp (file contents):
Revision 324 by douglas, 2004-12-13T19:40:34-08:00 vs.
Revision 325 by douglas, 2004-12-13T19:52:35-08:00

# 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   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines