Fix typos.

Refs #6003.

[SVN r76138]
This commit is contained in:
John Maddock
2011-12-24 17:31:27 +00:00
parent 728ef21347
commit 806a0ed81a
2 changed files with 3 additions and 3 deletions

View File

@ -200,9 +200,9 @@ void basic_regex_parser<charT, traits>::fail(regex_constants::error_type error_c
if(error_code != regex_constants::error_empty)
{
if((start_pos != 0) || (end_pos != (m_end - m_base)))
message += " The error occured while parsing the regular expression fragment: '";
message += " The error occurred while parsing the regular expression fragment: '";
else
message += " The error occured while parsing the regular expression: '";
message += " The error occurred while parsing the regular expression: '";
if(start_pos != end_pos)
{
message += std::string(m_base + start_pos, m_base + position);