#NEWLINE# @ classmethod #NEWLINE# def _get( cls , lb , pattern = None , minimal = False ) : #NEWLINE# #INDENT# names = cls . _get_list ( lb ) #NEWLINE# if ( not names ) : #NEWLINE# #INDENT# return [ ] #NEWLINE# #UNINDENT# if ( pattern is not None ) : #NEWLINE# #INDENT# if ( not isinstance ( rule_name , re . _pattern_type ) ) : #NEWLINE# #INDENT# pattern = re . compile ( pattern ) #NEWLINE# names = [ rule_name for rule_name in names if pattern . match ( rule_name ) ] #NEWLINE# #UNINDENT# #UNINDENT# return cls . _get_objects ( lb , names , minimal )