Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-10-06 06:47:40


>> 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.

Hope this helps,

John.


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