Test, validate and match regular expressions
This regex matches Arch Linux package names that start with 'lib32-' and follow the standard name-version-release format, such as lib32-example-1.0-1. It captures the package name (including the lib32 prefix) while ignoring the version and release numbers. Use cases include extracting 32-bit compatibility package names from pacman lists or AUR package filenames for filtering, sorting, or management.