
8 Nov
2006
8 Nov
'06
5:38 p.m.
Thanks John, that was the problem, it works now. John Maddock wrote:
Rick Weiss wrote:
I am trying to use the repeat capture mechanism in regex i thought i would start with the documentation example, but im having problems compiling it. Any help is appreciated.
(There is likely a problem between my seat and the keyboard)
:-)
This is likely the same issue that came up yesterday (!), the extended capture information is optional (see http://www.boost.org/libs/regex/doc/captures.html) to use it both your code and Boost.Regex must be compiled with BOOST_REGEX_MATCH_EXTRA defined. The best place to define it is in boost/regex/user.hpp BTW then you can't forget it :-)
HTH, John.