MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / EndsWithMatcher

Method EndsWithMatcher

unittests/catch.hpp:8085–8085  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8083 }
8084
8085 EndsWithMatcher::EndsWithMatcher( CasedString const& comparator ) : StringMatcherBase( "ends with", comparator ) {}
8086
8087 bool EndsWithMatcher::match( std::string const& source ) const {
8088 return endsWith( m_comparator.adjustString( source ), m_comparator.m_str );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected