To me this doesn't seem to make sense. The previous match of the char "f" has the starting index of 7. I understand it's at position 7,8 but the docs claim that it returns the "start index" (not ending index) of the previous match. Also, if it is supposed to return the ending index then I would think the first thing printed would be a '1' not a 0. I'm sure I'm just missing something simple here.