We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc9b12c commit 705137dCopy full SHA for 705137d
parse-date-regex.pl
@@ -3,7 +3,8 @@
3
# Written by André Kugland <kugland@gmail.com>
4
5
# This regex validates and parses dates in the format YYYY-MM-DD, taking into account
6
-# the number of days in each month and leap years. Leading zeros are discarded.
+# the number of days in each month and leap years. Leading zeros are discarded in the
7
+# captures.
8
9
$regex = qr/^
10
0{0,3}(?<year>
0 commit comments