also returns start/end xpointers in found result