Build, test, and debug regular expressions
This regex matches branch names adhering to a specific GitLab naming convention. It validates branches starting with 'feature/' or 'bugfix/' followed by an uppercase ticket ID (e.g., JIRA-123), or starting with 'release/' followed by a version number like 'R20-23.1.1'. An optional lowercase suffix with hyphens can be appended. This is useful for enforcing standardized version control workflows.