regex docs

This commit is contained in:
Jesse Bannon 2024-09-25 22:36:54 -07:00
parent 59ea8bbe9f
commit b95000e9c4
2 changed files with 2 additions and 2 deletions

View file

@ -796,7 +796,7 @@ regex
overrides: overrides:
description_date_capture: >- description_date_capture: >-
{ {
%regex_capture_many_with_defaults( %regex_capture_many(
description, description,
[ "([0-9]{4})-([0-9]{2})-([0-9]{2})" ], [ "([0-9]{4})-([0-9]{2})-([0-9]{2})" ],
[ upload_year, upload_month, upload_day ] [ upload_year, upload_month, upload_day ]

View file

@ -144,7 +144,7 @@ class RegexOptions(ToggleableOptionsDictValidator):
overrides: overrides:
description_date_capture: >- description_date_capture: >-
{ {
%regex_capture_many_with_defaults( %regex_capture_many(
description, description,
[ "([0-9]{4})-([0-9]{2})-([0-9]{2})" ], [ "([0-9]{4})-([0-9]{2})-([0-9]{2})" ],
[ upload_year, upload_month, upload_day ] [ upload_year, upload_month, upload_day ]