Return the position of the start and end of the matched text

(0) -1 +1 +10 tip

mercurial