#NEWLINE# def scan_command_map( state ) : #NEWLINE# #INDENT# params = { #NEWLINE# #INDENT# 'keys' : None , #NEWLINE# 'command' : None , #NEWLINE# #UNINDENT# } #NEWLINE# m = state . match ( '\\s*(?P<keys>.+?)\\s+(?P<command>.+?)\\s*$' ) #NEWLINE# if m : #NEWLINE# #INDENT# params . update ( m . groupdict ( ) ) #NEWLINE# #UNINDENT# return ( None , [ TokenCommandMap ( state ) , TokenEof ( ) ] )