Merge pull request #52 from rummt/patch-1

typo in error message 'openening' should be 'opening'
This commit is contained in:
jzmaddock
2017-12-23 19:03:15 +00:00
committed by GitHub

View File

@ -183,7 +183,7 @@ void basic_regex_parser<charT, traits>::parse(const charT* p1, const charT* p2,
// have had an unexpected ')' : // have had an unexpected ')' :
if(!result) if(!result)
{ {
fail(regex_constants::error_paren, ::boost::BOOST_REGEX_DETAIL_NS::distance(m_base, m_position), "Found a closing ) with no corresponding openening parenthesis."); fail(regex_constants::error_paren, ::boost::BOOST_REGEX_DETAIL_NS::distance(m_base, m_position), "Found a closing ) with no corresponding opening parenthesis.");
return; return;
} }
// if an error has been set then give up now: // if an error has been set then give up now: