Bladeren bron

Fixed partial match bug:

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]
John Maddock 24 jaren geleden
bovenliggende
commit
01b04a6d3a
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      libs/regex

+ 1 - 1
libs/regex

@@ -1 +1 @@
-Subproject commit b856079e7486ec7abac86accace9e11d9f3a58c0
+Subproject commit b2c4abc9cf6cc57103b23e4a136da0eacaa2779b

粤ICP备19079148号