Boost logo

Boost Users :

From: rlop_at_[hidden]
Date: 2005-10-05 06:36:12


Hello,

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.

#include <boost/regex.hpp>

int main(void)
{
    boost::regex validValue = boost::regex("([x]{0,64})?");
    boost::regex_match("T",validValue);
    return 0;
}

best regards
    Robert Lopuszanski

-- 
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++

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