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_re2::Regex Class Reference
Collaboration diagram for duckdb_re2::Regex:

Public Member Functions

DUCKDB_API Regex (const std::string &pattern, RegexOptions options=RegexOptions::NONE)
 Regex (const char *pattern, RegexOptions options=RegexOptions::NONE)
const duckdb_re2::RE2 & GetRegex () const

Private Attributes

duckdb::shared_ptr< duckdb_re2::RE2 > regex

Constructor & Destructor Documentation

◆ Regex() [1/2]

duckdb_re2::Regex::Regex ( const std::string & pattern,
RegexOptions options = RegexOptions::NONE )
explicit
98801 {
98802 RE2::Options o;
98803 o.set_case_sensitive(options == RegexOptions::CASE_INSENSITIVE);
98804 regex = duckdb::make_shared_ptr<duckdb_re2::RE2>(StringPiece(pattern), o);
98805}
Definition duckdb.cpp:98353

◆ Regex() [2/2]

duckdb_re2::Regex::Regex ( const char * pattern,
RegexOptions options = RegexOptions::NONE )
inlineexplicit
97460 : Regex(std::string(pattern)) {
97461 }

Member Function Documentation

◆ GetRegex()

const duckdb_re2::RE2 & duckdb_re2::Regex::GetRegex ( ) const
inline
97462 {
97463 return *regex;
97464 }

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