Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Debtags::Regexp Class Reference

#include <Regexp.h>

Inheritance diagram for Debtags::Regexp:

Debtags::ExtendedRegexp List of all members.

Public Member Functions

 Regexp (const std::string &expr, int match_count=0, int flags=0) throw (RegexpException)
 ~Regexp () throw ()
bool match (const std::string &str, int flags=0) throw (RegexpException)
std::string operator[] (int idx) throw (OutOfRangeException)

Protected Attributes

regex_t re
regmatch_t * pmatch
int nmatch
std::string lastMatch

Constructor & Destructor Documentation

Regexp::Regexp const std::string &  expr,
int  match_count = 0,
int  flags = 0
throw (RegexpException)
 

Regexp::~Regexp  )  throw ()
 


Member Function Documentation

bool Regexp::match const std::string &  str,
int  flags = 0
throw (RegexpException)
 

string Regexp::operator[] int  idx  )  throw (OutOfRangeException)
 


Member Data Documentation

std::string Debtags::Regexp::lastMatch [protected]
 

int Debtags::Regexp::nmatch [protected]
 

regmatch_t* Debtags::Regexp::pmatch [protected]
 

regex_t Debtags::Regexp::re [protected]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 17 23:22:58 2004 for libdebtags by  doxygen 1.3.9.1