def match_10k_toc_title_to_section(text: str, title: str) -> bool:
    """
    Matches a 10-K style title from the table of contents to the associated title in the document
    body.
    """
    if re.match(ITEM_TITLE_RE, title):
        return text.startswith(title)
    else:
        text = remove_item_from_section_text(text)
        return text.startswith(title)

    Matches a 10-K style title from the table of contents to the associated title in the document
    body.
    
llama-index-integrations/readers/llama-index-readers-sec-filings/llama_index/readers/sec_filings/prepline_sec_filings/sec_document.py