MySQL 9.4.0
Source Code Documentation
mysql_harness::RegexMatcher::Impl Class Reference

Public Member Functions

 Impl (const std::string &pattern)
 
bool matches (const icu::UnicodeString &input) const
 
bool find (const icu::UnicodeString &input) const
 
std::string replace_all (icu::UnicodeString &input, const icu::UnicodeString &replacement) const
 

Public Attributes

UErrorCode status_
 
std::string pattern_
 
std::unique_ptr< icu::RegexPattern > regex_pattern_
 

Constructor & Destructor Documentation

◆ Impl()

mysql_harness::RegexMatcher::Impl::Impl ( const std::string &  pattern)
inline

Member Function Documentation

◆ find()

bool mysql_harness::RegexMatcher::Impl::find ( const icu::UnicodeString &  input) const
inline

◆ matches()

bool mysql_harness::RegexMatcher::Impl::matches ( const icu::UnicodeString &  input) const
inline

◆ replace_all()

std::string mysql_harness::RegexMatcher::Impl::replace_all ( icu::UnicodeString &  input,
const icu::UnicodeString &  replacement 
) const
inline

Member Data Documentation

◆ pattern_

std::string mysql_harness::RegexMatcher::Impl::pattern_

◆ regex_pattern_

std::unique_ptr<icu::RegexPattern> mysql_harness::RegexMatcher::Impl::regex_pattern_

◆ status_

UErrorCode mysql_harness::RegexMatcher::Impl::status_

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