diff --git a/doc/Attic/history.html b/doc/Attic/history.html
index ed9b467c..4ffc9d23 100644
--- a/doc/Attic/history.html
+++ b/doc/Attic/history.html
@@ -42,7 +42,10 @@
repeat more times than their maximum value.
Fixed the value returned by basic_regex<>::empty() from a default
- constructed object.
+ constructed object.
+
+ Changed the deffinition of regex_error to make it backwards compatible with
+ Boost-1.32.0.
Boost 1.33.0.
-
diff --git a/doc/history.html b/doc/history.html
index ed9b467c..4ffc9d23 100644
--- a/doc/history.html
+++ b/doc/history.html
@@ -42,7 +42,10 @@
repeat more times than their maximum value.
-
Fixed the value returned by basic_regex<>::empty() from a default
- constructed object.
+ constructed object.
+
+ Changed the deffinition of regex_error to make it backwards compatible with
+ Boost-1.32.0.
Boost 1.33.0.
-
diff --git a/include/boost/regex/pattern_except.hpp b/include/boost/regex/pattern_except.hpp
index ffd9b1a1..25cab1cc 100644
--- a/include/boost/regex/pattern_except.hpp
+++ b/include/boost/regex/pattern_except.hpp
@@ -40,7 +40,7 @@ namespace boost{
class BOOST_REGEX_DECL regex_error : public std::runtime_error
{
public:
- explicit regex_error(const std::string& s, regex_constants::error_type err, std::ptrdiff_t pos);
+ explicit regex_error(const std::string& s, regex_constants::error_type err = regex_constants::error_unknown, std::ptrdiff_t pos = 0);
explicit regex_error(regex_constants::error_type err);
~regex_error() throw();
regex_constants::error_type code()const