Boost C++ Libraries: Ticket #1026: regex_token_iterator crashes https://svn.boost.org/trac10/ticket/1026 <p> The following code crashes. </p> <p> #include &lt;iostream&gt; </p> <p> #include &lt;boost/xpressive/xpressive.hpp&gt; </p> <p> using namespace boost; </p> <p> using namespace xpressive; </p> <p> int main() { </p> <blockquote> <p> std::string str("This is his face"); </p> </blockquote> <blockquote> <p> sregex rx = sregex::compile("<br />w+"); </p> </blockquote> <blockquote> <p> int subs[] = {-1, 0}; </p> </blockquote> <blockquote> <p> sregex_token_iterator begin(str.begin(), str.end(), rx, subs), end; </p> </blockquote> <blockquote> <p> sregex_token_iterator copy = begin; </p> </blockquote> <blockquote> <p> for( ; begin != end; ++begin) { </p> </blockquote> <blockquote> <blockquote> <p> std::cout &lt;&lt; *begin &lt;&lt; std::endl; </p> </blockquote> </blockquote> <blockquote> <p> } </p> </blockquote> <p> } </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1026 Trac 1.4.3 eric@… Sat, 02 Jun 2007 02:23:17 GMT attachment set https://svn.boost.org/trac10/ticket/1026 https://svn.boost.org/trac10/ticket/1026 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">state.hpp.patch.txt</span> </li> </ul> <p> patch for boost/xpressive/detail/core/state.hpp </p> Ticket Eric Niebler Sat, 02 Jun 2007 02:29:22 GMT owner set https://svn.boost.org/trac10/ticket/1026#comment:1 https://svn.boost.org/trac10/ticket/1026#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Eric Niebler</span> </li> </ul> Ticket Eric Niebler Sun, 03 Jun 2007 02:06:12 GMT component changed https://svn.boost.org/trac10/ticket/1026#comment:2 https://svn.boost.org/trac10/ticket/1026#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">xpressive</span> </li> </ul> Ticket Thomas Witt Mon, 04 Jun 2007 19:04:14 GMT attachment set https://svn.boost.org/trac10/ticket/1026 https://svn.boost.org/trac10/ticket/1026 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">state.hpp.patch</span> </li> </ul> <p> Removed .txt extension </p> Ticket Eric Niebler Mon, 04 Jun 2007 19:18:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1026#comment:3 https://svn.boost.org/trac10/ticket/1026#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket buy cialis medicine Mon, 08 Jun 2009 14:38:29 GMT <link>https://svn.boost.org/trac10/ticket/1026#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/1026#comment:4</guid> <description> <p> Anyone can do any amount of work provided it isn't the work he is supposed to be doing at the moment. </p> <blockquote> <p> -- Robert Benchley </p> </blockquote> <p> <a class="ext-link" href="http://www.megadirectory.it/SHOPPING/Compra-Viagra-Italia-Acquista-Viagra-Originale-e-Generico-Online-Spedizione-Gratuita-l1511.html"><span class="icon">​</span>farmaco erezione</a> <a class="ext-link" href="http://community.icontact.com/users/buyfioricet"><span class="icon">​</span>fioricet orders</a> <a class="ext-link" href="http://www.dogomania.com/forum/showthread.php?p=279776"><span class="icon">​</span>buy cialis</a> L.Uonx0 <a class="ext-link" href="http://community.icontact.com/users/buy-tramadol"><span class="icon">​</span>tramadol</a> </p> </description> <category>Ticket</category> </item> </channel> </rss>