Build, test, and debug regular expressions
Matches semantic versioning (SemVer) strings, capturing major, minor, and patch version numbers as named groups. Optionally matches a hyphen-prefixed prerelease label and a plus-prefixed build metadata section, both allowing dot-separated alphanumeric and hyphen identifiers. Enforces rules like no leading zeros in numeric identifiers. Commonly used to validate or parse software version strings in package managers, release tooling, and dependency checks.