Re: [Boost-bugs] [Boost C++ Libraries] #4608: boost::regex accepts invalid regular expressions like "\\d++"

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #4608: boost::regex accepts invalid regular expressions like "\\d++"
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2010-08-31 08:51:47


#4608: boost::regex accepts invalid regular expressions like "\\d++"
------------------------------------------+---------------------------------
  Reporter: gyk.net <gyk.net@…> | Owner: johnmaddock
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: regex
   Version: Boost 1.44.0 | Severity: Problem
Resolution: | Keywords: regex
------------------------------------------+---------------------------------

Comment (by johnmaddock):

 Boost.Regex is intended to to track the regular expressions supported by
 Perl-5.x, and pocessive quantifiers were introduced in Perl-5.10 which is
 why we support them.

 However, you are correct that three +'s sould raise an error - I'll fix
 that shortly.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/4608#comment:2>
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:04 UTC