Removed redundant requirement for std::regex::multiline (Fixes #191)
This commit is contained in:
@@ -13301,9 +13301,6 @@ bool RegexMatcher::match(std::string const &matchee) const
|
|||||||
{
|
{
|
||||||
auto flags = std::regex::ECMAScript; // ECMAScript is the default syntax
|
auto flags = std::regex::ECMAScript; // ECMAScript is the default syntax
|
||||||
// option anyway
|
// option anyway
|
||||||
#if !defined(_WIN32)
|
|
||||||
flags |= std::regex::multiline;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (m_caseSensitivity == CaseSensitive::Choice::No) {
|
if (m_caseSensitivity == CaseSensitive::Choice::No) {
|
||||||
flags |= std::regex::icase;
|
flags |= std::regex::icase;
|
||||||
|
|||||||
Reference in New Issue
Block a user