6 Oct
2005
6 Oct
'05
11:47 a.m.
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.