![]() |
The Gaudi Framework
v38r0 (2143aa4c)
|
RegeEx: nemspace to hold gaudi regular expression checking. More...
Classes | |
| class | matchList |
Functions | |
| template<typename T > | |
| bool | matchOr (const std::string &test, const T ®exps) |
| return true if the string is in any of the regex's More... | |
| template<typename T > | |
| bool | matchAnd (const std::string &test, const T ®exps) |
| return true if the string is in all of the regex's More... | |
RegeEx: nemspace to hold gaudi regular expression checking.
| matchOr | return true if test is in any of the regexps |
| matchAnd | return true if test is in all of the regexps |
| bool Gaudi::Utils::RegEx::matchAnd | ( | const std::string & | test, |
| const T & | regexps | ||
| ) |
return true if the string is in all of the regex's
| std::string | test [IN]: string to match |
| container<std::string> | regexps [IN]: container of regex strings can be any container with a const_iterator, begin and end |
If you need to do this more than once, please first create a matchList object, and then invoke its And method.
Definition at line 81 of file RegEx.h.
| bool Gaudi::Utils::RegEx::matchOr | ( | const std::string & | test, |
| const T & | regexps | ||
| ) |
return true if the string is in any of the regex's
| std::string | test [IN]: string to match |
| container<std::string> | regexps [IN]: container of regex strings can be any container with a const_iterator, begin and end |
If you need to do this more than once, please first create a matchList object, and then invoke its Or method.
Definition at line 64 of file RegEx.h.