def look_ahead(self, s):
        if self.index + len(s) >= len(self.input):
            return False
        return self.input[self.index:(self.index + len(s))] == s
dataset/ETHPy150Open guillermooo/Mercurial/shglib/parsing.py/CommandLexer.look_ahead/original