Build, test, and debug regular expressions
This regex matches Docker image references and extracts components into named groups: Registry (hostname with optional port), Name (simple image name), UserName/ImageName (user-scoped images), and Tag. It handles formats like 'nginx:latest', 'docker.io/library/ubuntu:20.04', or 'gcr.io/myproject/app:v1.2.3'. Useful for parsing Docker pull commands, validating image strings in CI/CD pipelines, or processing container configurations.