SearchFrom searches backwardly from a position; returns sp,ep and last-matched position