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

Comparing Bender/Matcher.cpp (file contents):
Revision 115 by Douglas Thrift, 2004-03-16T22:53:38-08:00 vs.
Revision 116 by Douglas Thrift, 2004-03-17T00:24:32-08:00

# Line 67 | Line 67 | Matcher& Matcher::operator()(const strin
67                  pcre_free(this->expression);
68          }
69  
70 <        this->expression = pcre_compile(expression.c_str(), PCRE_MULTILINE, NULL,
71 <                NULL, NULL);
70 >        const char* error;
71 >        int offset;
72 >
73 >        this->expression = pcre_compile(expression.c_str(), PCRE_MULTILINE, &error,
74 >                &offset, NULL);
75  
76          return *this;
77   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines