Offset past the leading '### SectionTitle ' header.
(text: str)
| 140 | |
| 141 | |
| 142 | def section_content_start(text: str) -> int: |
| 143 | """Offset past the leading '### SectionTitle ' header.""" |
| 144 | m = re.match(r"(#+\s+\S+\s+)", text.lstrip()) |
| 145 | return m.end() if m else 0 |
| 146 | |
| 147 | |
| 148 | def adjacent_before(records: List[CovRecord], gap_start: int) -> List[CovRecord]: |