technical
·
10 min
UUID Regex: Why 8-4-4-4-12 Isn't Enough to Validate (2026)
A UUID regex that only checks the 8-4-4-4-12 shape accepts garbage. Here's how to validate the version and variant nibbles the way RFC 9562 defines them.