Build, test, and debug regular expressions
Validates semantic versioning (SemVer 2.0.0) strings such as 1.2.3, 1.0.0-alpha, or 2.3.4-beta.1+build.5. Captures MAJOR, MINOR, and PATCH numeric components (rejecting leading zeros) via named groups, along with an optional hyphen-prefixed prerelease segment and a plus-prefixed build metadata section composed of dot-separated alphanumeric identifiers and hyphens. Commonly used in package managers, CI/CD pipelines, and dependency validation to ensure version strings follow the official spec.