DCL 4.0
|
#include <dcl/Config.h>
#include <stdlib.h>
#include <dcl/_regex.h>
#include <regex>
#include <dcl/Object.h>
#include <dcl/Regex.h>
#include <dcl/String.h>
#include <dcl/Array.h>
Go to the source code of this file.
Functions | |
__DCL_BEGIN_NAMESPACE 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) __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) __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) __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) __DCL_THROWS1(RegexException *) |
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.
__DCL_BEGIN_NAMESPACE 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 ) |
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 ) |
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 ) |
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 ) |
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.