Source: https://github.com/python/cpython/blob/main/Objects/stringlib/stringlib_find_two_way_notes.txt