def results (self):
    ret = []
    fh = open(self.filepath, 'r')
    if ide.utils.istext(fh.read(512)):
      fh.seek(0)
      linenum = 0
      while 1:
        line = fh.readline()
        if line:
          for match in self.needle.finditer(line):
            ret.append((linenum, match.start(), match.end()))