diff --git a/docs/source/config_reference/plugins.rst b/docs/source/config_reference/plugins.rst index 5cb786d3..cd0da7f9 100644 --- a/docs/source/config_reference/plugins.rst +++ b/docs/source/config_reference/plugins.rst @@ -796,7 +796,7 @@ regex overrides: description_date_capture: >- { - %regex_capture_many_with_defaults( + %regex_capture_many( description, [ "([0-9]{4})-([0-9]{2})-([0-9]{2})" ], [ upload_year, upload_month, upload_day ] diff --git a/src/ytdl_sub/plugins/regex.py b/src/ytdl_sub/plugins/regex.py index 0874b7f7..8b2bbfc4 100644 --- a/src/ytdl_sub/plugins/regex.py +++ b/src/ytdl_sub/plugins/regex.py @@ -144,7 +144,7 @@ class RegexOptions(ToggleableOptionsDictValidator): overrides: description_date_capture: >- { - %regex_capture_many_with_defaults( + %regex_capture_many( description, [ "([0-9]{4})-([0-9]{2})-([0-9]{2})" ], [ upload_year, upload_month, upload_day ]