Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r76138 - in trunk: boost/regex/v4 libs/regex/doc
From: john_at_[hidden]
Date: 2011-12-24 12:31:27


Author: johnmaddock
Date: 2011-12-24 12:31:27 EST (Sat, 24 Dec 2011)
New Revision: 76138
URL: http://svn.boost.org/trac/boost/changeset/76138

Log:
Fix typos.
Refs #6003.
Text files modified:
   trunk/boost/regex/v4/basic_regex_parser.hpp | 4 ++--
   trunk/libs/regex/doc/history.qbk | 2 +-
   2 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/boost/regex/v4/basic_regex_parser.hpp
==============================================================================
--- trunk/boost/regex/v4/basic_regex_parser.hpp (original)
+++ trunk/boost/regex/v4/basic_regex_parser.hpp 2011-12-24 12:31:27 EST (Sat, 24 Dec 2011)
@@ -200,9 +200,9 @@
    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);

Modified: trunk/libs/regex/doc/history.qbk
==============================================================================
--- trunk/libs/regex/doc/history.qbk (original)
+++ trunk/libs/regex/doc/history.qbk 2011-12-24 12:31:27 EST (Sat, 24 Dec 2011)
@@ -126,7 +126,7 @@
 * Added Unicode support; based on ICU.
 * Changed newline support to recognise \\f as a line separator (all character types), and \\x85 as a line separator for wide characters / Unicode only.
 * Added a new format flag format_literal that treats the replace string as a literal, rather than a Perl or Sed style format string.
-* Errors are now reported by throwing exceptions of type regex_error. The types used previously - bad_expression and bad_pattern - are now just typedefs for regex_error. Type regex_error has a couple of new members: code() to report an error code rather than a string, and position() to report where in the expression the error occured.
+* Errors are now reported by throwing exceptions of type regex_error. The types used previously - bad_expression and bad_pattern - are now just typedefs for regex_error. Type regex_error has a couple of new members: code() to report an error code rather than a string, and position() to report where in the expression the error occurred.
 
 [h4 Boost 1.32.1]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk