Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::RegexpMatchesFun Struct Reference

Static Public Member Functions

static ScalarFunctionSet GetFunctions ()

Static Public Attributes

static constexpr const char * Name = "regexp_matches"
static constexpr const char * Parameters = "string,regex,options"
static constexpr const char * Description = "Returns `true` if `string` contains the `regex`, `false` otherwise. A set of optional regex `options` can be set."
static constexpr const char * Example = "regexp_matches('anabanana', '(an)*')"
static constexpr const char * Categories = "regex"

Member Function Documentation

◆ GetFunctions()

ScalarFunctionSet duckdb::RegexpMatchesFun::GetFunctions ( )
static
234806 {
234807 ScalarFunctionSet regexp_partial_match("regexp_matches");
234808 regexp_partial_match.AddFunction(ScalarFunction(
234809 {LogicalType::VARCHAR, LogicalType::VARCHAR}, LogicalType::BOOLEAN, RegexpMatchesFunction<RegexPartialMatch>,
234810 RegexpMatchesBind, nullptr, nullptr, RegexInitLocalState, LogicalType::INVALID, FunctionStability::CONSISTENT,
234811 FunctionNullHandling::SPECIAL_HANDLING));
234812 regexp_partial_match.AddFunction(ScalarFunction(
234813 {LogicalType::VARCHAR, LogicalType::VARCHAR, LogicalType::VARCHAR}, LogicalType::BOOLEAN,
234814 RegexpMatchesFunction<RegexPartialMatch>, RegexpMatchesBind, nullptr, nullptr, RegexInitLocalState,
234815 LogicalType::INVALID, FunctionStability::CONSISTENT, FunctionNullHandling::SPECIAL_HANDLING));
234816 for (auto &func : regexp_partial_match.functions) {
234817 func.SetFallible();
234818 }
234819 return (regexp_partial_match);
234820}

The documentation for this struct was generated from the following file: