CUBRID Engine  latest
string_regex.cpp File Reference
#include "string_regex.hpp"
#include "locale_helper.hpp"
#include "error_manager.h"
#include "memory_alloc.h"
#include "language_support.h"
#include <algorithm>
#include <regex>
#include <string>
Include dependency graph for string_regex.cpp:

Go to the source code of this file.

Namespaces

 cubregex
 

Functions

std::string cubregex::parse_regex_exception (std::regex_error &e)
 
int cubregex::parse_match_type (std::regex_constants::syntax_option_type &reg_flags, std::string &opt_str)
 
void cubregex::clear (cub_regex_object *&regex, char *&pattern)
 
bool cubregex::check_should_recompile (const cub_regex_object *compiled_regex, const char *compiled_pattern, const std::string &pattern, const std::regex_constants::syntax_option_type reg_flags)
 
int cubregex::compile (cub_regex_object *&compiled_regex, const char *pattern, const std::regex_constants::syntax_option_type reg_flags, const LANG_COLLATION *collation)
 
int cubregex::search (int &result, const cub_regex_object &reg, const std::string &src, const INTL_CODESET codeset)
 
int cubregex::count (int &result, const cub_regex_object &reg, const std::string &src, const int position, const INTL_CODESET codeset)
 
int cubregex::instr (int &result, const cub_regex_object &reg, const std::string &src, const int position, const int occurrence, const int return_opt, const INTL_CODESET codeset)
 
int cubregex::replace (std::string &result, const cub_regex_object &reg, const std::string &src, const std::string &repl, const int position, const int occurrence, const INTL_CODESET codeset)
 
int cubregex::substr (std::string &result, bool &is_matched, const cub_regex_object &reg, const std::string &src, const int position, const int occurrence, const INTL_CODESET codeset)