This should keep track of the previous lineno, and the previous start, so the whole string doesn't need to be scanned again.