From: sevenjay (sevenjay.blog_at_[hidden])
Date: 2008-04-18 03:21:23
2008/4/17, John Maddock <john_at_[hidden]>:
> sevenjay wrote:
> > Dear all:
> > if you #define BOOST_REGEX_MATCH_EXTRA, using char type will crash,
> > but using string is well. Is that a bug?
> > My environment is Windows XP, C++ Builder 2007.
> > I show the example below:
> Did you build the regex library with BOOST_REGEX_MATCH_EXTRA defined? The
> only way to make this work correctly is to add that define to
> boost/regex/user.hpp and then rebuild the regex library as well as your
> HTH, John.
thank you for reply. I resolve the problem.
when you defined BOOST_REGEX_MATCH_EXTRA, then you must rebuild the
I did do define that before, but didn't rebuild the regex library.
I only rebuild my project so it crash when I used char type.
So I think there is no flexibility when we turn of/off BOOST_REGEX_MATCH_EXTRA.
And both must rebuild the regex library.
thanks for your reading
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk