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 113 by Douglas Thrift, 2004-03-16T12:31:22-08:00 vs.
Revision 114 by Douglas Thrift, 2004-03-16T14:33:08-08:00

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines