Test, validate and match regular expressions
Matches conventional commit messages, extracting the commit type, optional scope, breaking change indicator, optional issue reference (like JIRA-123 or #123), and the description. Useful for linting or parsing commit history in CI/CD pipelines, changelog generation, or enforcing commit message conventions.