Build, test, and debug regular expressions
Parses version strings by capturing required major and minor numbers (e.g., 1.2), an optional patch number (e.g., .3), and an optional hyphenated alphanumeric pre-release label (e.g., -beta). Useful for extracting version components from software version strings in package managers, dependency checkers, and changelog processing.