Boost C++ Libraries: Ticket #2296: Xpressive walking past the end of string https://svn.boost.org/trac10/ticket/2296 <p> The following test code triggers an assertion in std::string::operator ++ under VC 8: </p> <pre class="wiki">string s("&gt; \"\" "); string exp("(?P&lt;f&gt;.+):(?P&lt;l&gt;[0-9]+):((?P&lt;c&gt;[0-9]+):)?.*"); sregex re = sregex::compile(exp); regex_search(s, re); </pre><p> The previous call in the stack is boost::next, called from simple_repeat_matcher.hpp at line 181, right below a BUGBUG comment! </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2296 Trac 1.4.3 Eric Niebler Sun, 07 Sep 2008 22:27:20 GMT status changed https://svn.boost.org/trac10/ticket/2296#comment:1 https://svn.boost.org/trac10/ticket/2296#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> <p> confirmed </p> Ticket Eric Niebler Mon, 08 Sep 2008 04:28:21 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2296#comment:2 https://svn.boost.org/trac10/ticket/2296#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/48661" title="past-the-end iterator, fixes #2296">[48661]</a>) past-the-end iterator, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2296" title="#2296: Bugs: Xpressive walking past the end of string (closed: fixed)">#2296</a> </p> Ticket sdiederich Wed, 17 Sep 2008 18:44:35 GMT <link>https://svn.boost.org/trac10/ticket/2296#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2296#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/48821" title="silence MSVC8 warnings through pragmas, fixes #2296 ">[48821]</a>) silence MSVC8 warnings through pragmas, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2296" title="#2296: Bugs: Xpressive walking past the end of string (closed: fixed)">#2296</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>