Skip to content

the 'date' regex gets leap year wrong #102

@scorpiosoft

Description

@scorpiosoft

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions