Test, validate and match regular expressions
This regular expression is designed to validate and parse standard GitHub repository URLs. It checks for either an HTTP or HTTPS protocol (case-insensitive) and specifically captures the username and repository name into two separate groups. The repository name can include alphanumeric characters, periods, hyphens, and underscores. It is highly useful for extracting repository information from text or validating user input in applications.