mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: change wordRes to be a List of wordRe instead of a wrapper (issue #259)
- this permits direct storage of a list with additional matcher capabilities - provide wordRes::matcher class for similar behaviour as previously
This commit is contained in:
@ -213,7 +213,8 @@ public:
|
||||
const char quote = '\\'
|
||||
);
|
||||
|
||||
//- True when strings match literally
|
||||
//- Test for equality.
|
||||
// \return True when strings match literally.
|
||||
inline bool match(const std::string& text) const;
|
||||
|
||||
//- Avoid masking the normal std::string replace
|
||||
@ -289,7 +290,7 @@ public:
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Match text
|
||||
//- Test for equality. Allows use as a predicate.
|
||||
// \return True when strings match literally.
|
||||
inline bool operator()(const std::string& text) const;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user