fix regex

This commit is contained in:
Chris Lettieri 2025-10-13 14:39:40 -04:00
parent aeb30ecb90
commit 3db73cfba2

View file

@ -469,7 +469,7 @@ ${content}
.replace(/MM/g, '\\d{2}') // Replace MM with month pattern
.replace(/DD/g, '\\d{2}'); // Replace DD with day pattern
return new RegExp(`^${pattern}\\s*$`, 'm');
return new RegExp(`^${pattern}`, 'm');
}
/**