def lookahead(self, n):
    j = self.i + n
    if j < len(self.s):
      return self.s[j]
    else:
      return ''
Look ahead n chars.
dataset/ETHPy150Open ardekantur/pyglet/contrib/layout/layout/Plex/Traditional.py/REParser.lookahead