Removed redundant requirement for std::regex::multiline (Fixes #191)

This commit is contained in:
Bartek Kryza
2023-10-13 18:46:02 +02:00
parent f339c34dd8
commit e7d6c94a14

View File

@@ -13301,9 +13301,6 @@ bool RegexMatcher::match(std::string const &matchee) const
{
auto flags = std::regex::ECMAScript; // ECMAScript is the default syntax
// option anyway
#if !defined(_WIN32)
flags |= std::regex::multiline;
#endif
if (m_caseSensitivity == CaseSensitive::Choice::No) {
flags |= std::regex::icase;