otld.utils.generate_column_dict_196_r.split_line

otld.utils.generate_column_dict_196_r.split_line(line: str, line_re: Pattern = re.compile('Lines?\\s?(.+?\\.)\\s+(.+?)\\.', re.DOTALL)) tuple[str, str]

Split line into line number and name

Args:

line (str): The line to be split. line_re (re.Pattern, optional): A regex pattern to use to split line. Defaults to re.compile(r”Lines?s?(.+?.)s+(.+?).”, re.DOTALL).

Returns:

tuple[str, str]: A tuple containing the line_number associated with line and and the name associated.