mirror of
https://github.com/boostorg/regex.git
synced 2025-07-15 05:16:37 +02:00
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]