id summary reporter owner description type status milestone component version severity resolution keywords cc 9518 string_ref::rfind return value offset Peter A. Bigot No-Maintainer "The value returned from basic_string_ref::rfind() is calculated based on the where the end of the target string was found, but is not adjusted for the length of that string. E.g, given {{{ const char pstr[] = ""abcdabc\0abcd""; string_view sv(pstr, sizeof(pstr)-1); const char * pabc = ""abc""; string_view svabc(pabc); string_ref::size_type rv = sv.rfind(svabc); }}} ``rv`` will have the value 10 (referencing the last 'c') instead of 8 (referencing the 'a' that starts the match)." Bugs closed To Be Determined utility Boost 1.55.0 Problem fixed