Correction for standalone mode.

This commit is contained in:
jzmaddock
2024-03-16 19:09:57 +00:00
parent b86985e65a
commit 1d50b15245

View File

@ -204,7 +204,7 @@ void basic_regex_formatter<OutputIterator, Results, traits, ForwardIter>::format
if (recursion_count > BOOST_REGEX_MAX_RECURSION_DEPTH) if (recursion_count > BOOST_REGEX_MAX_RECURSION_DEPTH)
{ {
// We need to protect ourselves from bad format strings used as DOS attacks: // We need to protect ourselves from bad format strings used as DOS attacks:
BOOST_THROW_EXCEPTION(std::runtime_error("Excessive recursion in format string, this looks like a deliberately malformed expression.")); throw std::runtime_error("Excessive recursion in format string, this looks like a deliberately malformed expression.");
} }
// over and over: // over and over:
while(m_position != m_end) while(m_position != m_end)