From 3bd0280b2775d083e19447e9112136c8392d030c Mon Sep 17 00:00:00 2001 From: gyk4j <147011991+gyk4j@users.noreply.github.com> Date: Mon, 19 Feb 2024 13:06:30 +0800 Subject: [PATCH] Fix year regex limit --- Wreck/IO/Reader/Fs/PathReader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Wreck/IO/Reader/Fs/PathReader.cs b/Wreck/IO/Reader/Fs/PathReader.cs index e7042ea..5a7e4c8 100644 --- a/Wreck/IO/Reader/Fs/PathReader.cs +++ b/Wreck/IO/Reader/Fs/PathReader.cs @@ -23,8 +23,8 @@ public class PathReader : AbstractTimestampReader }; public const string DATE_PART_SEPARATOR = "[\\\\\\-_\\.:/]?"; - public const string YEAR_FULL_RANGE = "(?19[8,9][0-9]|20([0-1][0-9]|2[0-3]))"; - public const string YEAR_SHORT_RANGE = "(?[8,9][0-9]|[0-1][0-9]|2[0-3])"; + public const string YEAR_FULL_RANGE = "(?19[8,9][0-9]|20([0-1][0-9]|2[0-4]))"; + public const string YEAR_SHORT_RANGE = "(?[8,9][0-9]|[0-1][0-9]|2[0-4])"; public const string MONTH_RANGE = "(?0[1-9]|1[0-2])"; public const string DAY_RANGE = "(?0[1-9]|[1,2][0-9]|3[0,1])";