Added mermaid test cases for class diagrams

This commit is contained in:
Bartek Kryza
2023-09-12 00:55:05 +02:00
parent de5625a474
commit eb00cd21c3
71 changed files with 3189 additions and 1295 deletions

View File

@@ -13299,13 +13299,14 @@ RegexMatcher::RegexMatcher(
bool RegexMatcher::match(std::string const &matchee) const
{
auto flags = std::regex::ECMAScript; // ECMAScript is the default syntax
// option anyway
auto flags = std::regex::ECMAScript |
std::regex::multiline; // ECMAScript is the default syntax
// option anyway
if (m_caseSensitivity == CaseSensitive::Choice::No) {
flags |= std::regex::icase;
}
auto reg = std::regex(m_regex, flags);
return std::regex_match(matchee, reg);
return std::regex_search(matchee, reg);
}
std::string RegexMatcher::describe() const