[Boost-bugs] [Boost C++ Libraries] #1636: Bug in regex?

Subject: [Boost-bugs] [Boost C++ Libraries] #1636: Bug in regex?
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-02-15 07:00:35


#1636: Bug in regex?
-------------------------------+--------------------------------------------
 Reporter: freewave_at_[hidden] | Owner: johnmaddock
     Type: Support Requests | Status: new
Milestone: Boost 1.36.0 | Component: regex
  Version: Boost 1.34.1 | Severity: Problem
 Keywords: |
-------------------------------+--------------------------------------------
 void RegexTest()
 {
         char *pszMessage = "1,2,3,4,5,6,7,8,9,10,11,12,13,14,15";
         static const boost::regex e("^(.*?,){11}P");
         boost::cmatch result;
         if (boost::regex_search(pszMessage, result, e)) {
                 cout << result.str() << "$" << result.length() << endl;
         }
         else
                 cout << "result empty" << endl;
 }

 '''An exception raised by the boost regex-engine when testing with the
 code above in visual c++ 6.0'''

--
Ticket URL: <http://svn.boost.org/trac/boost/ticket/1636>
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:49:57 UTC