Boost C++ Libraries: Ticket #12237: libs\regex\example\snippets\captures_example.cpp(39,30): error : no member named 'captures' in 'boost::match_results<std::_String_const_iterator<std::_String_val<std::_Simple_types<char> > >, std::allocator<boost::sub_match<std::_String_const_iterator<std::_String_val<std::_Simple_types<char> > > > > >' https://svn.boost.org/trac10/ticket/12237 <p> Hi, Compiling with Visual Studio 2015 update 2 both using default compiler and Clang 3.7 with Microsoft <a class="missing wiki">CodeGen</a>, I get this error saying that </p> <blockquote> <p> captures in not a member of boost::match_results ... </p> </blockquote> <p> I believe this is a bug in 1_61_0 </p> <p> This can be seen in the captures_example.cpp </p> <p> Regards, Juan Dent </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12237 Trac 1.4.3 John Maddock Thu, 09 Jun 2016 18:05:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12237#comment:1 https://svn.boost.org/trac10/ticket/12237#comment:1 <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">invalid</span> </li> </ul> <p> As noted in the docs, this is an experimental feature which slows down matching, to enable it you need to define BOOST_REGEX_MATCH_EXTRA both when building the regex lib and when using it. Otherwise you will get the error above. </p> Ticket JUAN DENT <juandent@…> Thu, 09 Jun 2016 18:45:54 GMT <link>https://svn.boost.org/trac10/ticket/12237#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12237#comment:2</guid> <description> <p> Can you please point me to where the docs are? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Fri, 10 Jun 2016 07:18:41 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12237#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12237#comment:3</guid> <description> <p> See <a href="http://www.boost.org/doc/libs/1_61_0/libs/regex/doc/html/boost_regex/captures.html">http://www.boost.org/doc/libs/1_61_0/libs/regex/doc/html/boost_regex/captures.html</a> </p> <p> Pay particular attention to the last sentence. </p> </description> <category>Ticket</category> </item> <item> <author>JUAN DENT <juandent@…></author> <pubDate>Fri, 10 Jun 2016 15:13:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12237#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12237#comment:4</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/12237#comment:3" title="Comment 3">johnmaddock</a>: </p> <blockquote class="citation"> <p> See <a href="http://www.boost.org/doc/libs/1_61_0/libs/regex/doc/html/boost_regex/captures.html">http://www.boost.org/doc/libs/1_61_0/libs/regex/doc/html/boost_regex/captures.html</a> </p> <p> Pay particular attention to the last sentence. </p> </blockquote> <p> Thank you!! </p> <p> Juan </p> </description> <category>Ticket</category> </item> </channel> </rss>