Test, validate and match regular expressions
This regular expression matches Calendar Versioning (CalVer) strings, capturing the year (2 or 4 digits), month (1 or 2 digits), and an optional day. It also allows for an optional alphanumeric suffix to denote pre-release labels, build metadata, or other modifiers. It is commonly used to validate version numbers of software, packages, or documents that follow a date-based release scheme.