forked from boostorg/regex
Regex: previous fix could go into infinite loop when a comment was followed by a "(", fix that.
This commit is contained in:
@ -1104,8 +1104,10 @@ bool basic_regex_parser<charT, traits>::parse_repeat(std::size_t low, std::size_
|
||||
while ((m_position != m_end)
|
||||
&& (this->m_traits.syntax_type(*m_position++) != regex_constants::syntax_close_mark)) {
|
||||
}
|
||||
contin = true;
|
||||
}
|
||||
contin = true;
|
||||
else
|
||||
contin = false;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user