15                            const string& identity,
 
   24                    rx::regex_constants::icase);
 
   34                            std::istringstream& stream,
 
   43                    rx::regex_constants::icase);
 
   54   string::const_iterator end = 
s.end();
 
   55   string::const_iterator pos = 
s.begin();
 
   56   unsigned int intPos = 0;
 
   62     if (rx::regex_search(pos, end, res, 
_reg))
 
   65       results.push_back(
match(intPos + res.position(
_index),
 
   69       intPos += res.position() + res.length();
 
Provide regex using conf file.
 
void maybeLoad(const std::string &identity)
Check if identity already loaded in RegexMap, if not load them.
 
const char * getRegexValue(const std::string &name, const std::string &key)
Get the regex as string from the RegexMap.
 
regexScanner(const string &type, const string &identity, int index=0)
Initialize RegexConfProvider and regex based on type and identity.
 
void ScanString(const string &str, list< match > &results) const
Scan a string using regex defined during initialization.
 
int s
The socket that the CLI will use to communicate.
 
list_t type structure used to keep various lists. (e.g. there are multiple lists).
 
Store the results of a regex match.