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
    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, kalb at, bjorn.karlsson at, gregod at, wekempf at