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 e6b5ae1 commit fc9b12cCopy full SHA for fc9b12c
README.md
@@ -1,7 +1,8 @@
1
# parse-date-regex
2
3
This regex validates and parses dates in the format YYYY-MM-DD, taking into account
4
-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
5
+captures.
6
7
By removing the spaces and comments in the regex, it can be used in Javascript or any
8
other language that supports PCRE (Perl-compatible regular expressions), *e.g.*:
0 commit comments