Build, test, and debug regular expressions
Matches version-style strings made of dot-separated numeric segments (e.g., 1.2.3), optionally followed by a hyphenated suffix containing no whitespace (e.g., -beta or -rc1). Suitable for parsing or validating software version tags and pre-release identifiers. Note the permissive * quantifiers mean it also matches empty strings or incomplete versions like '1.'.