RegEx++ and vc7 heap/memory error
26 Jun
2002
26 Jun
'02
10:34 p.m.
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
8190
Age (days ago)
8190
Last active (days ago)
0 comments
1 participants
participants (1)
-
john_p_osborn