CppCMS
|
The object that hold the result of matching a regular expression against the text using regex_match and regex_search functions. More...
#include <booster/booster/regex_match.h>
Public Types | |
typedef sub_match< Iterator > | value_type |
Public Member Functions | |
match_results () | |
value_type | operator[] (int n) const |
size_t | size () const |
value_type | suffix () |
value_type | prefix () |
The object that hold the result of matching a regular expression against the text using regex_match and regex_search functions.
typedef sub_match<Iterator> booster::match_results< Iterator >::value_type |
The type of subexpression returned by operator[]
|
inline |
Creates default empty matched result.
|
inline |
Get the sub_match for subexpression n. If n < 0 or n >= size() returns an empty sub_match
References booster::sub_match< Iterator >::matched.
|
inline |
Get the text range after the matched expression. Always empty for match_results
References booster::sub_match< Iterator >::matched.
|
inline |
Get the number of captured subexpressions in the regular expression.
|
inline |
Get the text range before the matched expression. Always empty for match_results
References booster::sub_match< Iterator >::matched.