Functor wrapper for testing meta-characters. More...
Public Member Functions | |
| bool | operator() (const char c) const noexcept |
| Test if character is a regex meta-character. More... | |
| bool | operator() (const std::string &s, const char q='\\') const |
| Test string for meta-characters. More... | |
Functor wrapper for testing meta-characters.
Definition at line 164 of file regExpCxx.H.
|
inlinenoexcept |
Test if character is a regex meta-character.
Definition at line 169 of file regExpCxx.H.
References Foam::constant::universal::c, and regExpCxx::is_meta().

|
inline |
Test string for meta-characters.
Definition at line 177 of file regExpCxx.H.
References regExpCxx::is_meta(), and s.

Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.