KRegExpPrivate Class Reference
#include <kregpriv.h>
Public Member Functions | |
KRegExpPrivate (const char *_pattern, const char *_mode="") | |
bool | compile (const char *_pattern, const char *_mode="") |
bool | match (const char *_string) |
const char * | group (int _grp) |
int | groupStart (int _grp) |
int | groupEnd (int _grp) |
Protected Attributes | |
regex_t | m_pattern |
regmatch_t | m_matches [10] |
char * | m_strMatches [10] |
bool | m_bInit |
Detailed Description
Used internally by KRegExp.
Definition at line 33 of file kregpriv.h.
Constructor & Destructor Documentation
◆ KRegExpPrivate() [1/2]
KRegExpPrivate::KRegExpPrivate | ( | ) |
Definition at line 29 of file kregexp.cpp.
◆ KRegExpPrivate() [2/2]
KRegExpPrivate::KRegExpPrivate | ( | const char * | _pattern, |
const char * | _mode = "" |
||
) |
Definition at line 37 of file kregexp.cpp.
◆ ~KRegExpPrivate()
KRegExpPrivate::~KRegExpPrivate | ( | ) |
Definition at line 47 of file kregexp.cpp.
Member Function Documentation
◆ compile()
bool KRegExpPrivate::compile | ( | const char * | _pattern, |
const char * | _mode = "" |
||
) |
Definition at line 57 of file kregexp.cpp.
◆ group()
const char * KRegExpPrivate::group | ( | int | _grp | ) |
Definition at line 110 of file kregexp.cpp.
◆ groupEnd()
int KRegExpPrivate::groupEnd | ( | int | _grp | ) |
Definition at line 132 of file kregexp.cpp.
◆ groupStart()
int KRegExpPrivate::groupStart | ( | int | _grp | ) |
Definition at line 121 of file kregexp.cpp.
◆ match()
bool KRegExpPrivate::match | ( | const char * | _string | ) |
Definition at line 69 of file kregexp.cpp.
Member Data Documentation
◆ m_bInit
|
protected |
Definition at line 51 of file kregpriv.h.
◆ m_matches
|
protected |
Definition at line 49 of file kregpriv.h.
◆ m_pattern
|
protected |
Definition at line 48 of file kregpriv.h.
◆ m_strMatches
|
protected |
Definition at line 50 of file kregpriv.h.
The documentation for this class was generated from the following files: