libzypp  11.13.5
zypp::str::smatch Class Reference

Regular expression match result. More...

#include <Regex.h>

List of all members.

Public Member Functions

 smatch ()
std::string operator[] (unsigned i) const
unsigned size () const

Public Attributes

std::string match_str
regmatch_t pmatch [12]

Detailed Description

Regular expression match result.

Index n=0 returns the string object representing the character sequence that matched the whole regular expression. If n is out of range, or if n is an unmatched sub-expression, then an empty string is returned.

Definition at line 148 of file Regex.h.


Constructor & Destructor Documentation

smatch::smatch ( )

Definition at line 72 of file Regex.cc.


Member Function Documentation

std::string smatch::operator[] ( unsigned  i) const

Definition at line 77 of file Regex.cc.

unsigned smatch::size ( ) const

Definition at line 86 of file Regex.cc.


Member Data Documentation

std::string zypp::str::smatch::match_str

Definition at line 157 of file Regex.h.

regmatch_t zypp::str::smatch::pmatch[12]

Definition at line 158 of file Regex.h.


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