Struct RegexMatcher

Synopsis

#include <include/internal/catch_matchers_string.h>

struct RegexMatcher : MatcherBase<std::string>

Description

No description yet.

Inheritance

Ancestors: MatcherBase

Methods

RegexMatcher
describe
match

Source

Lines 55-63 in include/internal/catch_matchers_string.h.

struct RegexMatcher : MatcherBase<std::string> {
    RegexMatcher( std::string regex, CaseSensitive::Choice caseSensitivity );
    bool match( std::string const& matchee ) const override;
    std::string describe() const override;
private:
    std::string m_regex;
    CaseSensitive::Choice m_caseSensitivity;
};





Add Discussion as Guest

Log in