#NEWLINE# def parse_content( self , text ) : #NEWLINE# #INDENT# 'get Usage section and set to `raw_content`, `formal_content` of no\n        title and empty-line version' #NEWLINE# match = re . search ( self . usage_re_str . format ( self . usage_name ) , text , flags = ( re . DOTALL if self . case_sensitive else ( re . DOTALL | re . IGNORECASE ) ) ) #NEWLINE# if ( match is None ) : #NEWLINE# #INDENT# return #NEWLINE# #UNINDENT# dic = match . groupdict ( ) #NEWLINE# logger . debug ( dic ) #NEWLINE# self . raw_content = dic [ 'raw' ] #NEWLINE# if ( self [ 'sep' ] in ( '\n' , '\r\n' ) ) : #NEWLINE# #INDENT# self . formal_content = dic [ 'section' ] #NEWLINE# return #NEWLINE# #UNINDENT# reallen = len ( dic [ 'name' ] ) #NEWLINE# replace = '' . ljust ( reallen ) #NEWLINE# drop_name = match . expand ( ( '%s\\g<sep>\\g<section>' % replace ) ) #NEWLINE# self . formal_content = self . drop_started_empty_lines ( drop_name ) . rstrip ( )