#NEWLINE# def colorize_heading( self , text ) : #NEWLINE# #INDENT# return self . _color_helper ( text , '(^#+)(.*)$' , ( ( ( ( ( text . color_config . pound + '\\1' ) + self . color_config . pound_reset ) + self . color_config . heading ) + '\\2' ) + self . color_config . heading_reset ) )