Scopira  20080306
scopira::tool::regmatch Class Reference

#include <regex.h>

Public Member Functions

 regmatch (size_t sz)
 ctor
 
bool is_valid (size_t idx) const
 is this particular match valid?
 
size_t begin (size_t idx)
 get the base of a match
 
size_t end (size_t idx)
 get the end of the math
 
size_t size (void) const
 gets the size
 
size_t size_match (void) const
 gets the number of matches
 
std::string substr (const std::string &base, size_t idx)
 convinience, get the substring
 

Friends

class regex
 

Detailed Description

where the results of a match are stored

Author
Aleksander Demko

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