def get_cols(self, lines):
re_name_def = re.compile(<EOL>r'<STR_LIT>'  <EOL>r'<STR_LIT>'  <EOL>r'<STR_LIT>'<EOL>)<EOL>self.names = []<EOL>include_cuts = False<EOL>for line in lines:<EOL><INDENT>if not line:  <EOL><INDENT>continue<EOL><DEDENT>if not line.startswith('<STR_LIT>'):  <EOL><INDENT>break<EOL><DEDENT>if line.startswith('<STR_LIT>'):<EOL><INDENT>include_cuts = True<EOL><DEDENT>else:<EOL><INDENT>match = re_name_def.search(line)<EOL>if match:<EOL><INDENT>self.names.append(match.group('<STR_LIT>').rstrip())<EOL><DEDENT><DEDENT><DEDENT>if not self.names:<EOL><INDENT>raise core.InconsistentTableError(<EOL>'<STR_LIT>')<EOL><DEDENT>if include_cuts:<EOL><INDENT>self.cols = [  <EOL>core.Column(name='<STR_LIT>'),<EOL>core.Column(name='<STR_LIT>'),<EOL>]<EOL><DEDENT>else:<EOL><INDENT>self.cols = []  <EOL><DEDENT>for name in self.names:<EOL><INDENT>col = core.Column(name=name)<EOL>self.cols.append(col)<EOL><DEDENT>
Initialize Column objects from a multi-line ASCII header

        Parameters
        ----------
        lines : `list`
            List of table lines