<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Can you please check your test case with libc++ trunk? I think this may be r340609 (<a href="https://reviews.llvm.org/D50534" class="">https://reviews.llvm.org/D50534</a>), which has been fixed already.<div class=""><br class=""></div><div class="">If it still fails on trunk, please file a bug report on <a href="https://bugs.llvm.org" class="">https://bugs.llvm.org</a> with a fully self-contained reproduction. It should be a program that can be run out of the box, with a main function and everything.</div><div class=""><br class=""></div><div class=""><div class="">Louis<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Sep 3, 2018, at 02:07, 黄奕 via cfe-dev <<a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="line-height: 1.7; font-size: 14px; font-family: Arial;" class=""><div class="">System:  MacOs 10.13.6</div><div class="">LibC++ Version: 400.9.4</div><div class="">LibSystem : 1252.200.5</div><div class="">IDE: Xcode 10.0 beta</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">...</div><div class="">std::regex decode_href() { return std::regex(R"(\[([\s\S]*?)\]\(([\s\S]*?)\))")</div><div class="">...</div><div class="">auto expr = decode_href();</div><div class=""><div class="">std::sregex_iterator it(text.cbegin(), text.cend(), expr);</div><div class="">std::sregex_iterator end;</div></div><div class=""><div class="">for(; it != end; ++it){</div><div class="">        ...</div><div class=""> }</div></div><div class="">...</div><div class=""><br class=""></div><div class="">I found in ver 400.9.4, it could not parse successfully with an input of "[URL](<a href="https://www.baidu.com)"/" _src="https://www.baidu.com)"" class="">https://www.baidu.com)"</a> (text = "[URL](<a href="https://www.baidu.com)")./" _src="https://www.baidu.com)")." class="">https://www.baidu.com)").</a> </div><div class="">while it works well in ver 400.9.0.</div><div class="">I m not sure it is a bug or</div><div class=""><br class=""></div></div><br class=""><br class=""><span title="neteasefooter" class=""><div class=""> <br class="webkit-block-placeholder"></div></span>_______________________________________________<br class="">cfe-dev mailing list<br class=""><a href="mailto:cfe-dev@lists.llvm.org" class="">cfe-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>