RE/flex abstract matcher base class and pattern matcher class. More...
#include <reflex/debug.h>#include <reflex/input.h>#include <reflex/traits.h>#include <cstdlib>#include <cctype>#include <iterator>

Classes | |
| class | reflex::AbstractMatcher |
| The abstract matcher base class template defines an interface for all pattern matcher engines. More... | |
| struct | reflex::AbstractMatcher::Const |
| AbstractMatcher::Const common constants. More... | |
| struct | reflex::AbstractMatcher::Option |
| AbstractMatcher::Options for matcher engines. More... | |
| class | reflex::AbstractMatcher::Iterator< T > |
| AbstractMatcher::Iterator class for scanning, searching, and splitting input character sequences. More... | |
| class | reflex::AbstractMatcher::Operation |
| AbstractMatcher::Operation functor to match input to a pattern, also provides a (const) AbstractMatcher::iterator to iterate over matches. More... | |
| class | reflex::PatternMatcher< P > |
| The pattern matcher class template extends abstract matcher base class. More... | |
Namespaces | |
| reflex | |
Macros | |
| #define | WITH_REALLOC |
Functions | |
| std::string | reflex::regroup (const std::string ®ex) |
Regroup: convert a string regex to a regex with group captures only for the outermost (top-level) choices. All outermost (top-level) choices X1, X2, ... Xn in a regex X1|X2|...|Xn are regrouped such that X1|X2|...|Xn => (X1)|(X2)|...|(Xn). Innermost (nested) group captures (Y) are converted to non-captured (Y) => (?:Y). All existing non-capturing groups are retained. For example, a|b(c)|(?:d) => (a)|(b(?:c))|((?:d)). More... | |
| int | reflex::isword (int c) |
| Check word character. More... | |
RE/flex abstract matcher base class and pattern matcher class.
| #define WITH_REALLOC |