#NEWLINE# def _get_field( line ) : #NEWLINE# #INDENT# for ( field , regex ) in FIELDS . items ( ) : #NEWLINE# #INDENT# match = regex . match ( line ) #NEWLINE# if match : #NEWLINE# #INDENT# ( yield ( field , match . group ( field ) ) )