40 const int32_t str_len,
42 const int32_t pat_len,
43 const char escape_char) {
47 boost::regex re(pattern, pat_len, boost::regex::extended);
49 result = boost::regex_match(str, str + str_len, what, re);
50 }
catch (std::runtime_error& error) {
61 const int32_t str_len,
63 const int32_t pat_len,
64 const char escape_char,
65 const int8_t bool_null) {
66 if (!str || !pattern) {
70 return regexp_like(str, str_len, pattern, pat_len, escape_char);
RUNTIME_EXPORT DEVICE int8_t regexp_like_nullable(const char *str, const int32_t str_len, const char *pattern, const int32_t pat_len, const char escape_char, const int8_t bool_null)
RUNTIME_EXPORT DEVICE bool regexp_like(const char *str, const int32_t str_len, const char *pattern, const int32_t pat_len, const char escape_char)