Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2005-07-25 04:35:06


> so I wondered what's mean of the BOOST_REGEX_MATCH_EXTRA?

Enabling capture information has an impact on performance, so you must
define BOOST_REGEX_MATCH_EXTRA *both* in your code, and when you are
building the regex library. If you just want to build the example program
then the easiest way is to use bjam to do so: cd into libs/regex/example
and:

bjam captures_example

Alternatively add #define BOOST_REGEX_MATCH_EXTRA to boost/regex/user.hpp
and rebuild the library.

This is all documented here:
http://www.boost.org/libs/regex/doc/match_results.html#m17
and towards the end of here:
http://www.boost.org/libs/regex/doc/captures.html

John.


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