qiskit/qasm/qasmlexer.py
def t_ID(self, t):
        r'[a-z][a-zA-Z0-9_]*'

        t.type = self.reserved.get(t.value, 'ID')
        if t.type == 'ID':
            t.value = node.Id(t.value, self.lineno, self.filename)
        return t
def t_ID(self, t):
        r'[a-z][a-zA-Z0-9_]*'

        t.type = self.reserved.get(t.value, 'ID')
        if t.type == 'ID':
            t.value = node.Id(t.value, self.lineno, self.filename)
        return t
def t_ID ( self , t ) : t . type = self . reserved . get ( t . value , 'ID' ) if t . type == 'ID' : t . value = node . Id ( t . value , self . lineno , self . filename ) return t
r'[a-z][a-zA-Z0-9_]*
r [ a - z ] [ a - zA - Z0 - 9_ ] *