Boost logo

Boost Users :

From: John Maddock (john_at_[hidden])
Date: 2006-11-08 11:51:27


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.


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