DCL 4.0
|
Go to the source code of this file.
Classes | |
struct | match_result |
Typedefs | |
typedef void * | regex_handle |
Enumerations | |
enum | regex_compile_flags { regex_icase = 0x0001 , regex_nosubs = 0x0002 , regex_newline = 0x0004 } |
enum | regex_match_flags { regex_not_bol = 0x0001 , regex_not_eol = 0x0002 } |
Functions | |
regex_handle | __regex_create () |
void | __regex_destroy (regex_handle _handle) |
void | __regex_compile (regex_handle _handle, const wchar_t *_pattern, size_t _n, unsigned int _flags) |
void | __matches_free (match_result *_results) |
size_t | __regex_match (regex_handle _handle, const wchar_t *_begin, const wchar_t *_end, match_result **_results, unsigned int _flags) |
bool | __regex_match (regex_handle _handle, const wchar_t *_begin, const wchar_t *_end, unsigned int _flags) |
bool | __regex_search (regex_handle _handle, const wchar_t *_begin, const wchar_t *_end, match_result **_results, unsigned int _flags) |
bool | __regex_search (regex_handle _handle, const wchar_t *_begin, const wchar_t *_end, unsigned int _flags) |
bool | __regex_matches (const wchar_t *_regex, const wchar_t *_regexend, const wchar_t *_begin, const wchar_t *_end, bool _icase) __DCL_THROWS1(RegexException *) |
bool | __regex_matches (const char *_regex, const char *_regexend, const char *_begin, const char *_end, bool _icase) __DCL_THROWS1(RegexException *) |
size_t | __regex_search (const wchar_t *_regex, const wchar_t *_regexend, const wchar_t *_begin, const wchar_t *_end, bool _icase) __DCL_THROWS1(RegexException *) |
size_t | __regex_search (const char *_regex, const char *_regexend, const char *_begin, const char *_end, bool _icase) __DCL_THROWS1(RegexException *) |
String | __regex_substring (const wchar_t *_regex, const wchar_t *_regexend, const wchar_t *_begin, const wchar_t *_end, bool _icase) __DCL_THROWS1(RegexException *) |
ByteString | __regex_substring (const char *_regex, const char *_regexend, const char *_begin, const char *_end, bool _icase) __DCL_THROWS1(RegexException *) |
String | __regex_replace (const wchar_t *_regex, const wchar_t *_regexend, const wchar_t *_begin, const wchar_t *_end, const wchar_t *_replacement, const wchar_t *_replacementend, bool _icase, size_t _limit=(size_t) -1) __DCL_THROWS1(RegexException *) |
ByteString | __regex_replace (const char *_regex, const char *_regexend, const char *_begin, const char *_end, const char *_replacement, const char *_replacementend, bool _icase, size_t _limit=(size_t) -1) __DCL_THROWS1(RegexException *) |
StringArray & | __regex_split (const wchar_t *_regex, const wchar_t *_regexend, const wchar_t *_begin, const wchar_t *_end, bool _icase, StringArray &_results, size_t _limit=(size_t) -1) __DCL_THROWS1(RegexException *) |
ByteStringArray & | __regex_split (const char *_regex, const char *_regexend, const char *_begin, const char *_end, bool _icase, ByteStringArray &_results, size_t _limit=(size_t) -1) __DCL_THROWS1(RegexException *) |
typedef void* regex_handle |
enum regex_compile_flags |
Enumerator | |
---|---|
regex_icase | |
regex_nosubs | |
regex_newline |
enum regex_match_flags |
Enumerator | |
---|---|
regex_not_bol | |
regex_not_eol |
void __matches_free | ( | match_result * | _results | ) |
Definition at line 81 of file _regex.cpp.
void __regex_compile | ( | regex_handle | _handle, |
const wchar_t * | _pattern, | ||
size_t | _n, | ||
unsigned int | _flags ) |
Definition at line 61 of file _regex.cpp.
regex_handle __regex_create | ( | ) |
Definition at line 43 of file _regex.cpp.
void __regex_destroy | ( | regex_handle | _handle | ) |
Definition at line 53 of file _regex.cpp.
size_t __regex_match | ( | regex_handle | _handle, |
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
match_result ** | _results, | ||
unsigned int | _flags ) |
Definition at line 87 of file _regex.cpp.
bool __regex_match | ( | regex_handle | _handle, |
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
unsigned int | _flags ) |
Definition at line 119 of file _regex.cpp.
bool __regex_matches | ( | const char * | _regex, |
const char * | _regexend, | ||
const char * | _begin, | ||
const char * | _end, | ||
bool | _icase ) |
Definition at line 212 of file _regex.cpp.
bool __regex_matches | ( | const wchar_t * | _regex, |
const wchar_t * | _regexend, | ||
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
bool | _icase ) |
Definition at line 187 of file _regex.cpp.
ByteString __regex_replace | ( | const char * | _regex, |
const char * | _regexend, | ||
const char * | _begin, | ||
const char * | _end, | ||
const char * | _replacement, | ||
const char * | _replacementend, | ||
bool | _icase, | ||
size_t | _limit = (size_t) -1 ) |
Definition at line 408 of file _regex.cpp.
String __regex_replace | ( | const wchar_t * | _regex, |
const wchar_t * | _regexend, | ||
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
const wchar_t * | _replacement, | ||
const wchar_t * | _replacementend, | ||
bool | _icase, | ||
size_t | _limit = (size_t) -1 ) |
Definition at line 367 of file _regex.cpp.
size_t __regex_search | ( | const char * | _regex, |
const char * | _regexend, | ||
const char * | _begin, | ||
const char * | _end, | ||
bool | _icase ) |
Definition at line 269 of file _regex.cpp.
size_t __regex_search | ( | const wchar_t * | _regex, |
const wchar_t * | _regexend, | ||
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
bool | _icase ) |
Definition at line 237 of file _regex.cpp.
bool __regex_search | ( | regex_handle | _handle, |
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
match_result ** | _results, | ||
unsigned int | _flags ) |
Definition at line 137 of file _regex.cpp.
bool __regex_search | ( | regex_handle | _handle, |
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
unsigned int | _flags ) |
Definition at line 169 of file _regex.cpp.
ByteStringArray & __regex_split | ( | const char * | _regex, |
const char * | _regexend, | ||
const char * | _begin, | ||
const char * | _end, | ||
bool | _icase, | ||
ByteStringArray & | _results, | ||
size_t | _limit = (size_t) -1 ) |
Definition at line 488 of file _regex.cpp.
StringArray & __regex_split | ( | const wchar_t * | _regex, |
const wchar_t * | _regexend, | ||
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
bool | _icase, | ||
StringArray & | _results, | ||
size_t | _limit = (size_t) -1 ) |
Definition at line 449 of file _regex.cpp.
ByteString __regex_substring | ( | const char * | _regex, |
const char * | _regexend, | ||
const char * | _begin, | ||
const char * | _end, | ||
bool | _icase ) |
Definition at line 334 of file _regex.cpp.
String __regex_substring | ( | const wchar_t * | _regex, |
const wchar_t * | _regexend, | ||
const wchar_t * | _begin, | ||
const wchar_t * | _end, | ||
bool | _icase ) |
Definition at line 302 of file _regex.cpp.