Ticket #4215 (closed Bugs: fixed)

Opened 7 years ago

Last modified 7 years ago

match_results docs incorrectly refer to returning strings

Reported by: Jonathan Wakely <jwakely.boost@…> Owned by: johnmaddock
Milestone: Boost 1.43.0 Component: regex
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:


The documentation for match_results::length and match_results::position both say:

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.

Those functions return difference_type not a string


Change History

comment:1 Changed 7 years ago by johnmaddock

  • Status changed from new to closed
  • Resolution set to fixed

(In [61976]) Update regex_match requirements. Fixes #4215.


Add a comment

Modify Ticket

Change Properties
<Author field>
as closed
The resolution will be deleted. Next status will be 'reopened'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.