Build, test, and debug regular expressions
Parses the filename portion of a custom package artifact (e.g., 'mypkg-1.2.3-45-x86_64.chi.zst'). A negative lookahead ensures no '/' appears later, so it only matches after the last path separator. It captures the package name, a version/revision group (non-hyphen version plus numeric build), an extension-less component like architecture, and the literal '.chi.zst' suffix. Useful for extracting structured fields from build artifacts or package cache paths.