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

Method match

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

Source from the content-addressed store, hash-verified

2976 Contains( NSString* substr ) : StringHolder( substr ){}
2977
2978 bool match( NSString* str ) const {
2979 return (str != nil || m_substr == nil ) &&
2980 [str rangeOfString:m_substr].location != NSNotFound;
2981 }
2982
2983 std::string describe() const override {
2984 return "contains string: " + Catch::Detail::stringify( m_substr );

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected