Go to the documentation of this file.
88 enum ctrlType { EMPTY = 0, NORMAL = 1, NEGATED = 2 };
104 static inline std::regex::flag_type syntax();
107 bool set_pattern(
const char* pattern,
size_t len,
bool ignoreCase);
134 inline static bool is_meta(
const char c) noexcept;
139 const std::string& str,
140 const char quote =
'\\'
156 bool operator()(
const std::string&
s,
const char q =
'\\')
const
178 const bool ignoreCase =
false
184 const std::string& pattern,
185 const bool ignoreCase =
false
198 inline bool empty() const noexcept;
201 inline
bool exists() const noexcept;
204 inline
bool negated() const noexcept;
207 inline
bool negate(
bool on) noexcept;
211 inline
unsigned ngroups() const;
214 inline
bool nocase() const;
228 inline
bool set(const
char* pattern,
bool ignoreCase=false);
232 inline
bool set(const std::
string& pattern,
bool ignoreCase=false);
241 inline std::
string::
size_type find(const std::
string& text) const;
245 inline
bool match(const std::
string& text) const;
255 inline
bool search(const std::
string& text) const;
261 inline
bool operator()(const std::
string& text) const;
264 inline
void operator=(const
regExpCxx& rgx);
271 inline
void operator=(const
char* pattern);
275 inline
void operator=(const std::
string& pattern);
285 #include "regExpCxxI.H"
std::string::size_type find(const std::string &text) const
gmvFile<< "tracers "<< particles.size()<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().x()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().y()<< " ";}gmvFile<< nl;for(const passiveParticle &p :particles){ gmvFile<< p.position().z()<< " ";}gmvFile<< nl;forAll(lagrangianScalarNames, i){ word name=lagrangianScalarNames[i];IOField< scalar > s(IOobject(name, runTime.timeName(), cloud::prefix, mesh, IOobject::MUST_READ, IOobject::NO_WRITE))
bool negated() const noexcept
bool set(const char *pattern, bool ignoreCase=false)
bool negate(bool on) noexcept
bool match(const std::string &text) const
bool empty() const noexcept
graph_traits< Graph >::vertices_size_type size_type
Wrapper around C++11 regular expressions with some additional prefix-handling. The prefix-handling is...
bool search(const std::string &text) const
void swap(regExpCxx &rgx)
const dimensionedScalar c
bool exists() const noexcept
static bool is_meta(const char c) noexcept