Skip to content
Merged
2 changes: 1 addition & 1 deletion src/ebdamame/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def _get_tables_and_paragraphs(document: DocumentType) -> Generator[Union[Table,


_ebd_key_pattern = re.compile(r"^E_\d{4}$")
_ebd_key_with_heading_pattern = re.compile(r"^(?P<key>E_\d{4})_(?P<title>.*)\s*$")
_ebd_key_with_heading_pattern = re.compile(r"^(?P<key>E_\d{4})(_?)(?P<title>.*)\s*$")
Comment thread
DeltaDaniel marked this conversation as resolved.
Outdated


class TableNotFoundError(Exception):
Expand Down
Loading