ucommon
7.0.0
About: GNU uCommon C++ is a portable and optimized class framework for writing C++ applications that need to use threads and support concurrent synchronization, and that use sockets, XML parsing, object serialization, thread-optimized string and data structure classes, etc..
![]() ![]() |
#include <string.h>
Public Member Functions | |
regex (const char *pattern, size_t size=1) | |
regex (size_t size=1) | |
~regex () | |
size_t | offset (unsigned member) |
size_t | size (unsigned member) |
size_t | members (void) const |
bool | match (const char *text, unsigned flags=0) |
regex & | operator= (const char *string) |
bool | operator*= (const char *string) |
operator bool () const | |
bool | operator! () const |
Private Member Functions | |
__DELETE_COPY (regex) | |
Private Attributes | |
void * | object |
void * | results |
size_t | count |
ucommon::String::regex::regex | ( | const char * | pattern, |
size_t | size = 1 |
||
) |
Definition at line 36 of file regex.cpp.
References count, results, and ucommon::String::size().
ucommon::String::regex::regex | ( | size_t | size = 1 | ) |
Definition at line 54 of file regex.cpp.
References ucommon::String::count(), and ucommon::String::size().
|
private |
bool ucommon::String::regex::match | ( | const char * | text, |
unsigned | flags = 0 |
||
) |
Definition at line 138 of file regex.cpp.
References ucommon::String::count(), and ucommon::String::INSENSITIVE.
Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().
|
inline |
Definition at line 115 of file string.h.
Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().
size_t ucommon::String::regex::offset | ( | unsigned | member | ) |
Definition at line 102 of file regex.cpp.
References ucommon::String::count().
Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().
bool ucommon::String::regex::operator*= | ( | const char * | string | ) |
String::regex & ucommon::String::regex::operator= | ( | const char * | string | ) |
size_t ucommon::String::regex::size | ( | unsigned | member | ) |
Definition at line 118 of file regex.cpp.
References ucommon::String::count().
Referenced by ucommon::String::replace(), ucommon::String::search(), and ucommon::StringPager::split().
|
private |
|
private |