[Boost-bugs] [Boost C++ Libraries] #13206: regex constructor throws regex_error for simple expression

Subject: [Boost-bugs] [Boost C++ Libraries] #13206: regex constructor throws regex_error for simple expression
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-09-12 12:01:45


#13206: regex constructor throws regex_error for simple expression
--------------------------------------+--------------------------
 Reporter: Asbjørn Pedersen <ahp@…> | Owner: John Maddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: regex
  Version: Boost 1.65.0 | Severity: Problem
 Keywords: regex error_range |
--------------------------------------+--------------------------
 The code below throws boost::regex_error when creating an instance of
 boost::regex.
 I compile with visual studio 2015 and uses boost 1.65 precompiled for 32
 bit windows (boost_1_65_1-msvc-14.0-32.exe)

 #include "stdafx.h"
 #include <boost/regex.hpp>
 int main()
 {
         try
         {
                 boost::regex re("[A-Z-.]+");
         }
         catch (...) { assert(false); }
     return 0;
 }

-- 
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13206>
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-09-12 12:08:11 UTC