[Boost-bugs] [Boost C++ Libraries] #6433: Problem in the release mode with the Boost::Regex::Regex_match and search

Subject: [Boost-bugs] [Boost C++ Libraries] #6433: Problem in the release mode with the Boost::Regex::Regex_match and search
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-01-20 20:49:48


#6433: Problem in the release mode with the Boost::Regex::Regex_match and search
----------------------------------+-----------------------------------------
 Reporter: legi0n69@… | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.48.0 | Severity: Problem
 Keywords: |
----------------------------------+-----------------------------------------
 #include "boost/regex.hpp"
 Problem:

 boost::regex rx("Hello word");
 if(boost::regex_search(iFileName, rx)) //access violation
 {
    ....
 }

 walk around:

 #include "boost/tr1/regex.hpp"
 std::tr1::regex rx("Hello world");

 if(std::tr1::regex_search(iFileName, rx))
 {
   result = true;
 }

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6433>
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:08 UTC