# | 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); } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |