forked from boostorg/regex
The following program demonstrates what we believe is a bug in regex partial match algorithm: int main() { // boost::regex const re("(ab)?c"); // ok boost::regex const re("(ab)?"); // fails in the assert below boost::cmatch what; assert(boost::regex_match( "a", what, re, boost::match_default | boost::match_partial )); } [SVN r14110]