[Boost-docs] Manual: Regex Creation from an MFC String - Typo.

Subject: [Boost-docs] Manual: Regex Creation from an MFC String - Typo.
From: Mark Kasson (mkasson_at_[hidden])
Date: 2008-02-21 17:48:21


On this page: http://www.boost.org/libs/regex/doc/mfc_strings.html I believe there is an error in this line: return CString(what[0].first, what.length());I believe the latter parameter should be what[0].length(). (i.e. insert the [0]) There may be a similar error in the regex_match section. This correlates to page 132 in the Boost.Regex manual PDf file. There may also be an error re .length(1) at the top of 131. Thank you for your efforts.



This archive was generated by hypermail 2.1.7 : 2017-11-11 08:50:40 UTC