Pattern

struct Pattern

Public Types

using value_type = re2::RE2

Public Functions

explicit Pattern(std::string_view const &pattern)
Pattern(Pattern&&) = default
Pattern(Pattern const&) = delete
bool match(std::string_view const &text) const
std::pair<bool, std::string> extract(std::string_view const &text) const