Boost logo

Boost Users :

From: p.klotz_at_[hidden]
Date: 2005-10-11 05:38:40


Hello John

> >> After upgrading from boost 1.32 to boost 1.33.0, we get an exception
> >> in boost::regex_match. The exception is
> >> std::runtime_error: Regular expression too big
> >> , and only under Win64/cl1400 and RHEL/gcc323
> >>
> >> Changing the regex slightly sometimes avoids the exception...
> >>
> >> Attached a small example, which can be used to reproduce the
> >> exception.
>
> Confirmed in 1.33.0, the issue has already been fixed in preparation of
> 1.33.1, but since that isn't available yet, one temporary fix would be
to
> define BOOST_REGEX_RECURSIVE in boost/regex/user.hpp and rebuild
everything.
> Otherwise grab a copy of current cvs for the "RC_1_33_0" branch.
 
In addition to defining BOOST_REGEX_RECURSIVE in 1.33.0 I also had to
apply the attached patch in order to compile Boost under Windows x64.

Otherwise the compiler is unable to deduce the correct template parameter
for std::min().

Best regards, Peter.





Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net