GCS  0.2.3
Data Structures | Public Member Functions
gu::RegEx Class Reference

Data Structures

class  Match
 

Public Member Functions

 RegEx (const std::string &expr)
 
std::vector< Matchmatch (const std::string &str, size_t num) const
 Matches given string. More...
 

Constructor & Destructor Documentation

gu::RegEx::RegEx ( const std::string &  expr)
inline
Parameters
exprregular expression string

Member Function Documentation

std::vector<Match> gu::RegEx::match ( const std::string &  str,
size_t  num 
) const

Matches given string.

Parameters
strstring to match with expression
numnumber of matches to return
Returns
vector of matched substrings

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