#NEWLINE# def __init__( self , cache , matches = None ) : #NEWLINE# #INDENT# self . cache = cache #NEWLINE# self . _matches = OrderedDict ( ) #NEWLINE# for match in ( matches or [ ] ) : #NEWLINE# #INDENT# self . append_match ( match )