[Boost-bugs] [Boost C++ Libraries] #7784: Overlapping strings are not properly handled by string::algo::find_all

Subject: [Boost-bugs] [Boost C++ Libraries] #7784: Overlapping strings are not properly handled by string::algo::find_all
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-12-11 07:33:48


#7784: Overlapping strings are not properly handled by string::algo::find_all
-------------------------------------+--------------------------------------
 Reporter: cedstrom@… | Owner: marshall
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: string_algo
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 See attached test case. There should be two matches in the following test
 case, one at index 0 and one at index 1, but
 boost::string::algorithm::find_all only finds one at index 0. I suspect
 the bug is that the string match erroneously restarts from the end of the
 previous match, not from beginning of the previous match + 1.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/7784>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:11 UTC