diff -dur a/basic_regex.hpp b/basic_regex.hpp --- a/basic_regex.hpp 2012-01-02 18:34:53.153010751 +0100 +++ b/basic_regex.hpp 2012-01-02 18:34:34.343010598 +0100 @@ -243,11 +243,11 @@ // begin, end: const_iterator BOOST_REGEX_CALL begin()const { - return (!this->m_status ? 0 : this->m_expression); + return (this->m_status ? 0 : this->m_expression); } const_iterator BOOST_REGEX_CALL end()const { - return (!this->m_status ? 0 : this->m_expression + this->m_expression_len); + return (this->m_status ? 0 : this->m_expression + this->m_expression_len); } flag_type BOOST_REGEX_CALL flags()const {