Boost logo

Boost Users :

Subject: Re: [Boost-users] null instruction ptr bugcheck in regexp
From: Nat Goodspeed (nat_at_[hidden])
Date: 2009-07-28 15:43:37


Heidi Zhou wrote:

> What my code does is copying user buffer (containing string to be mached)
> to an internal allocated buffer and then call boost regexp functions.

In general, it's useful to post the smallest possible complete C++
source file that exhibits the problem, along with your platform,
compiler and Boost version.

However -- just as a guess -- you might check the lifespan of your
internal buffer relative to your use of regexp results. The string
searched by regexp functions must persist as long as you continue using
their search results.


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