Fix typo

The code sample says lastIndex is 7 on #L278, the text said 6 on #L284. The code sample is correct, so I'm changing the text.