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

Method RegexMatcher

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

Source from the content-addressed store, hash-verified

8089 }
8090
8091 RegexMatcher::RegexMatcher(std::string regex, CaseSensitive::Choice caseSensitivity): m_regex(std::move(regex)), m_caseSensitivity(caseSensitivity) {}
8092
8093 bool RegexMatcher::match(std::string const& matchee) const {
8094 auto flags = std::regex::ECMAScript; // ECMAScript is the default syntax option anyway

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected