Regex Class Reference

#include <IniParser.h>

List of all members.

Public Member Functions

 Regex ()
int compile (const string &pattern, bool ignore_case)
const regex_t * regex () const

Private Attributes

Regex_tPtr rxtp

Detailed Description

Manages references to a regex buffer


Constructor & Destructor Documentation

Regex::Regex (  )  [inline]

Member Function Documentation

int Regex::compile ( const string &  pattern,
bool  ignore_case 
) [inline]

Initialize the regex

Parameters:
pattern a pattern (REG_EXTENDED) ignore_case REG_ICASE?
Returns:
0 for success

References rxtp, and y2error.

Referenced by IniParser::initMachine().

const regex_t* Regex::regex (  )  const [inline]

References rxtp.

Referenced by RegexMatch::RegexMatch().


Member Data Documentation

Regex_tPtr Regex::rxtp [private]

Referenced by compile(), and regex().


The documentation for this class was generated from the following file:

Generated on a sunny day for yast2-core by doxygen 1.6.3