Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

the 'date' regex gets leap year wrong #102

Open
scorpiosoft opened this issue Apr 25, 2023 · 0 comments
Open

the 'date' regex gets leap year wrong #102

scorpiosoft opened this issue Apr 25, 2023 · 0 comments

Comments

@scorpiosoft
Copy link

Hello,

https://ihateregex.io/expr/date/

The date regex gets leap years wrong. Leap years divisible by 400 should not match.
The regex successfully matches Feb 29, 2000. It should not.

BTW, other than leap year it is an amazing regex, thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant