[PATCH] D26026: [libcxx] Make regex_match backtrack when search fails

Tim Shen via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 27 13:14:12 PDT 2016


timshen marked an inline comment as done.
timshen added inline comments.


================
Comment at: libcxx/test/std/re/re.alg/re.alg.match/ecma.pass.cpp:374
         std::cmatch m;
         const char s[] = "tournament";
+        assert(std::regex_match(s, m, std::regex("tour|to|tournament")));
----------------
mclow.lists wrote:
> I would be tempted to put a reference to http://wg21.link/LWG2273 here. (in a comment)
For consistency with other LWG defects references, I used the open-std.org link.


https://reviews.llvm.org/D26026





More information about the cfe-commits mailing list