#NEWLINE# def match( self , argv , repeat_match ) : #NEWLINE# #INDENT# if ( not ( repeat_match or self . repeat ) ) : #NEWLINE# #INDENT# logger . debug ( 'try to match %s once, %s' , self , argv ) #NEWLINE# result = self . match_oneline ( argv ) #NEWLINE# logger . debug ( '%s matching status: %s' , self , result ) #NEWLINE# return result #NEWLINE# #UNINDENT# logger . debug ( 'try to match %s repeatedly' , self ) #NEWLINE# return self . match_repeat ( argv )