Functor wrapper of a list of wordRe for matching. More...
Public Member Functions | |
matcher (const UList< wordRe > &selectors) noexcept | |
Construct with select matcher(s) More... | |
bool | empty () const noexcept |
No selectors defined. More... | |
bool | operator() (const std::string &text) const |
True if text matches ANY of the selectors. Always false if entries are empty. More... | |
Construct with select matcher(s)
Definition at line 197 of file wordResI.H.
|
inlinenoexcept |
No selectors defined.
Definition at line 216 of file wordResI.H.
|
inline |
True if text matches ANY of the selectors. Always false if entries are empty.
Allows use as a predicate.
Definition at line 227 of file wordResI.H.
References wordRes::match().