No funny things this time, but something for everybody who knows C++. Somebody (not me) changed this line
to
This is not made up, but a real code change, a little bit simplified. The intention is to find ‘x' everywhere in the string, not only at the first position. str is a std::string. Why does this change not work as expected?