'Returns the next \'count\' characters without advancing the stream.'

def peek(self, count=1):

    if (count > 1):
        return self._text[self._idx:(self._idx + count)]
    try:
        return self._text[self._idx]
    except IndexError:
        return None
