42 return reList_.size();
48 return reList_.empty();
65 const label nElem = reList_.size();
66 for (
label elemI = 0; elemI < nElem; ++elemI)
68 if (reList_[elemI].
match(str, literalMatch))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D vector of objects of type <T>, where the size of the vector is known and can be used for subscri...
wordReListMatcher(const UList< wordRe > &)
Construct from a List of wordRe.
const UList< wordRe > & operator()() const
Return underlying list of wordRe.
bool match(const string &, bool literalMatch=false) const
Return true if string matches any of the regular expressions.