
25 Jul
2005
25 Jul
'05
9:35 a.m.
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.