That won't work, because ``prefix_len`` needs to be 0 if the string doesn't start with ``prefix``.