diff --git a/comicfn2dict/regex.py b/comicfn2dict/regex.py index 5e4444c..9168438 100644 --- a/comicfn2dict/regex.py +++ b/comicfn2dict/regex.py @@ -156,6 +156,8 @@ _SCAN_INFO_RE_EXP = r"(?P[^()]*)" _ORIGINAL_FORMAT_SCAN_INFO_RE_EXP = ( _ORIGINAL_FORMAT_RE_EXP + r"\s*[\(:-]" + _SCAN_INFO_RE_EXP # + r")?" ) +# Keep this even though comicfn2dict doesn't use it directly +ORIGINAL_FORMAT_RE = re_compile(_ORIGINAL_FORMAT_RE_EXP, parenthify=True) ORIGINAL_FORMAT_SCAN_INFO_RE = re_compile( _ORIGINAL_FORMAT_SCAN_INFO_RE_EXP, parenthify=True ) diff --git a/pyproject.toml b/pyproject.toml index fb23c4d..49f7a9c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "comicfn2dict" -version = "0.2.0a0" +version = "0.2.0a1" description = "Parse common comic filenames and return a dict of metadata attributes. Includes a cli." license = "GPL-3.0-only" authors = ["AJ Slater "]