Boost C++ Libraries: Ticket #4215: match_results docs incorrectly refer to returning strings https://svn.boost.org/trac10/ticket/4215 <p> The documentation for <code>match_results::length</code> and <code>match_results::position</code> both say: </p> <p> <em>The overloads that accept a string refer to a named sub-expression n. In the event that there is no such named sub-expression then returns an empty string. </em> </p> <p> Those functions return <code>difference_type</code> not a string </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4215 Trac 1.4.3 John Maddock Sat, 15 May 2010 09:15:31 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4215#comment:1 https://svn.boost.org/trac10/ticket/4215#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">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/61976" title="Update regex_match requirements. Fixes #4215.">[61976]</a>) Update regex_match requirements. Fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/4215" title="#4215: Bugs: match_results docs incorrectly refer to returning strings (closed: fixed)">#4215</a>. </p> Ticket