Go to the documentation of this file.
137 const std::string& str,
162 inline static bool valid(
const char c);
217 inline
bool match(const std::
string& text,
bool literal=false) const;
224 inline
bool operator()(const std::
string& text) const;
229 inline
void operator=(const
wordRe& str);
232 inline
void operator=(const
word& str);
236 void operator=(const
keyType& str);
240 inline
void operator=(const
string& str);
244 inline
void operator=(const std::
string& str);
248 inline
void operator=(const
char* str);
252 inline
void operator=(
wordRe&& str);
Wrapper around POSIX extended regular expressions with some additional prefix-handling....
bool isPattern() const noexcept
@ DETECT_ICASE
Combined DETECT and ICASE.
A class for handling words, derived from Foam::string.
@ REGEX
Regular expression.
@ DETECT
Detect if the string contains meta-characters.
Istream & operator>>(Istream &, directionInfo &)
A token holds an item read from Istream.
bool isLiteral() const noexcept
A wordRe is a Foam::word, but can contain a regular expression for matching words or strings.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
A class for handling keywords in dictionaries.
Hash function class. The default definition is for primitives. Non-primitives used to hash entries on...
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
static bool valid(const char c)
OBJstream os(runTime.globalPath()/outputName)
void set(const std::string &str, const compOption opt=DETECT)
@ ICASE
Ignore case in regular expression.
@ REGEX_ICASE
Combined REGEX and ICASE.
bool assign(const token &tok)
const dimensionedScalar c
@ UNKNOWN
Unknown content (for return value).
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
bool match(const std::string &text, bool literal=false) const