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

Comparing SiteMapper/Matcher.hpp (file contents):
Revision 127 by Douglas Thrift, 2004-03-23T19:52:15-08:00 vs.
Revision 128 by Douglas Thrift, 2004-03-23T22:15:08-08:00

# Line 21 | Line 21 | public:
21          Matcher(const string& expression);
22          ~Matcher();
23          bool match(const string& stuff);
24 +        int size(void) { return substrings.size(); }
25          Matcher& operator()(const string& expression);
26          string& operator[](unsigned index) { return substrings[index]; }
27          bool operator==(const string& stuff) { return match(stuff); }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines