Test, validate and match regular expressions
This Python regex parses structured filenames to extract the product name, version, build number, and file extension into named capture groups. It expects components separated by hyphens and supports complex versioning schemes, including wildcards or multi-part numeric versions (e.g., 1.2.3.*). It is specifically tailored for validating and extracting metadata from software packages ending in `.bin` or `.rpm`.