|
|
|
wordRe Class ReferenceA wordRe is a word, but can also have a regular expression for matching words. More...
Inheritance diagram for wordRe:
![]()
Collaboration diagram for wordRe:
![]()
Detailed DescriptionA wordRe is a word, but can also have a regular expression for matching words.By default the constructors will generally preserve the argument as string literal and the assignment operators will use the wordRe::DETECT compOption to scan the string for regular expression meta characters and/or invalid word characters and react accordingly. The exceptions are when constructing/assigning from another Foam::wordRe (preserve the same type) or from a Foam::word (always literal).
Definition at line 71 of file wordRe.H. Member Enumeration Documentation
Constructor & Destructor DocumentationConstruct as copy of word.
Definition at line 53 of file wordReI.H. References wordRe::isPattern().
Here is the call graph for this function:
![]()
Construct as copy of string. Optionally specify how it should be treated. Definition at line 69 of file wordReI.H. References wordRe::compile().
Here is the call graph for this function:
![]()
Construct as copy of std::string. Optionally specify how it should be treated. Definition at line 78 of file wordReI.H. References wordRe::compile().
Here is the call graph for this function:
![]() Construct from Istream. Words are treated as literals, strings with an auto-test Definition at line 24 of file wordReIO.C.
Member Function Documentation
Is this a meta character?
Definition at line 20 of file wordReI.H. Referenced by wordRe::isPattern().
Here is the caller graph for this function:
![]()
Test string for regular expression meta characters.
Definition at line 26 of file wordReI.H. References wordRe::meta(). Referenced by wordRe::info(), and wordRe::wordRe().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Infrastructure. Compile the regular expression Definition at line 129 of file wordReI.H. References regExp::clear(). Referenced by wordRe::operator=(), wordRe::set(), and wordRe::wordRe().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Possibly compile the regular expression, with greater control.
Definition at line 95 of file wordReI.H. References regExp::exists().
Here is the call graph for this function:
![]()
Recompile an existing regular expression.
Definition at line 136 of file wordReI.H. References regExp::exists().
Here is the call graph for this function:
![]()
Copy string, auto-test for regular expression or other options.
Definition at line 198 of file wordReI.H. References wordRe::compile(), and wordRe::operator=().
Here is the call graph for this function:
![]()
Clear string and precompiled regular expression.
Definition at line 163 of file wordReI.H. Referenced by wordRe::match().
Here is the caller graph for this function:
![]()
Searching. Smart match as regular expression or as a string Optionally specify a literal match only Definition at line 170 of file wordReI.H. References regExp::clear(), and wordRe::clear().
Here is the call graph for this function:
![]()
Output some basic info.
Definition at line 78 of file wordReIO.C. References IOstream::check(), wordRe::isPattern(), and Ostream::writeQuoted().
Here is the call graph for this function:
![]()
Assign copy. Always case sensitive Definition at line 207 of file wordReI.H. References wordRe::compile(). Referenced by wordRe::operator=(), and wordRe::set().
Here is the call graph for this function:
![]()
Here is the caller graph for this function:
![]()
Copy string, auto-test for regular expression. Always case sensitive Reimplemented from word. Definition at line 231 of file wordReI.H. References regExp::clear(), and wordRe::operator=().
Here is the call graph for this function:
![]()
Copy string, auto-test for regular expression. Always case sensitive Reimplemented from word. Definition at line 239 of file wordReI.H. References wordRe::compile(), wordRe::DETECT, and wordRe::operator=().
Here is the call graph for this function:
![]()
Copy string, auto-test for regular expression. Always case sensitive Reimplemented from word. Definition at line 247 of file wordReI.H. References wordRe::compile(), wordRe::DETECT, and wordRe::operator=().
Here is the call graph for this function:
![]()
Friends And Related Function Documentation
The documentation for this class was generated from the following files:
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||