ClanLib
2.3.7
|
Regular Expression match. More...
#include <regexp_match.h>
Public Member Functions | |
Construction | |
CL_RegExpMatch () | |
~CL_RegExpMatch () | |
Attributes | |
const int * | get_vector () const |
int * | get_vector () |
Get Vector. More... | |
int | get_vector_size () const |
Get Vector size. More... | |
CL_StringRef8 | get_capture (const char *subject, int capture) const |
Get capture. More... | |
CL_StringRef8 | get_capture (const CL_StringRef8 &subject, int capture) const |
Get capture. More... | |
int | get_capture_pos (int capture) const |
Get capture pos. More... | |
int | get_capture_length (int capture) const |
Get capture length. More... | |
int | get_capture_end (int capture) const |
Get capture end. More... | |
int | get_captures_count () const |
Get Captures count. More... | |
bool | is_partial () const |
Is Partial. More... | |
bool | is_match () const |
Is Match. More... | |
Operations | |
CL_RegExpMatch & | operator= (const CL_RegExpMatch &other) |
void | set_vector_size (int size) |
Set vector size. More... | |
void | set_captures_count (int count) |
Set captures count. More... | |
void | set_partial_match (bool partial) |
Set partial match. More... | |
Regular Expression match.
CL_RegExpMatch::CL_RegExpMatch | ( | ) |
CL_RegExpMatch::~CL_RegExpMatch | ( | ) |
CL_StringRef8 CL_RegExpMatch::get_capture | ( | const char * | subject, |
int | capture | ||
) | const |
Get capture.
subject | = char |
capture | = value |
CL_StringRef8 CL_RegExpMatch::get_capture | ( | const CL_StringRef8 & | subject, |
int | capture | ||
) | const |
Get capture.
subject | = String Ref8 |
capture | = value |
int CL_RegExpMatch::get_capture_end | ( | int | capture) | const |
Get capture end.
capture | = value |
int CL_RegExpMatch::get_capture_length | ( | int | capture) | const |
Get capture length.
capture | = value |
int CL_RegExpMatch::get_capture_pos | ( | int | capture) | const |
Get capture pos.
capture | = value |
int CL_RegExpMatch::get_captures_count | ( | ) | const |
Get Captures count.
const int* CL_RegExpMatch::get_vector | ( | ) | const |
int* CL_RegExpMatch::get_vector | ( | ) |
Get Vector.
int CL_RegExpMatch::get_vector_size | ( | ) | const |
Get Vector size.
bool CL_RegExpMatch::is_match | ( | ) | const |
Is Match.
bool CL_RegExpMatch::is_partial | ( | ) | const |
Is Partial.
CL_RegExpMatch& CL_RegExpMatch::operator= | ( | const CL_RegExpMatch & | other) |
void CL_RegExpMatch::set_captures_count | ( | int | count) |
Set captures count.
count | = value |
void CL_RegExpMatch::set_partial_match | ( | bool | partial) |
Set partial match.
partial | = bool |
void CL_RegExpMatch::set_vector_size | ( | int | size) |
Set vector size.
size | = value |