Boost logo

Boost Users :

From: John Sichi (jsichi_at_[hidden])
Date: 2005-08-14 23:30:01

In boost/regex/v4/regex_match.hpp, a number of the overloads (the ones
that don't take a result parameter) are now bitwise-oring in

As a result, a sequence like

boost::regexp exp("a(bc)?")
char *value = "abcbc";
bool result = boost::regex_match(value, value + 5, exp);

will now set result to true where it was previously false in 1.32. I
fixed our code by passing in a dummy result object as an extra

Was this change intentional? I couldn't find any documentation that
mentions it.


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at