[Boost-bugs] [Boost C++ Libraries] #5632: regex::str() method broken

Subject: [Boost-bugs] [Boost C++ Libraries] #5632: regex::str() method broken
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-06-22 22:17:38


#5632: regex::str() method broken
------------------------------------------------+---------------------------
 Reporter: Chris Burghart <burghart@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.46.0 | Severity: Problem
 Keywords: regex basic_regex str |
------------------------------------------------+---------------------------
 The str() method is not returning a string representation of the regular
 expression after instantiation of a regex.

 Example program:

 {{{
 #include <iostream>
 #include <boost/regex.hpp>

 int
 main(int argc, char *argv[]) {
   boost::regex foo("foo");
   std::cout << foo.str() << std::endl;
 }
 }}}

 merely prints an empty line rather than "foo".

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5632>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:06 UTC