#NEWLINE# def _overwrite_callback( self , matches ) : #NEWLINE# #INDENT# if hasattr ( self , ( '_formatter_%s' % matches . group ( 1 ) ) ) : #NEWLINE# #INDENT# text = str ( getattr ( self , ( '_formatter_%s' % matches . group ( 1 ) ) ) ( ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# text = matches . group ( 0 ) #NEWLINE# #UNINDENT# return matches