Boost logo

Boost Users :

From: john_p_osborn (john_p_osborn_at_[hidden])
Date: 2002-06-26 17:34:43


When executing the following code I get an _CrtIsValidHeapPointer
error in dbgheap.c:

boost::RegEx r;
std:string sTmp;
std:string sExp = "\\bContent-Type:":\\s*([^; ]{1,16})"";
r.SetExpression(sExp, true);
if (!r.Search((LPCTSTR)(pInputBytes)))
{
    ... error
}
else
{
    sTmp = r2[1];
}

If I change sExp to specify {1,15} it works. Anybody know what's
going on?

I'm using 1_28_0 with Visual Studio .NET


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