Build, test, and debug regular expressions
This PCRE2 regex matches conventional commit messages with a specific structured format. It requires a commit type (like feat, fix, or docs) followed by an optional scope, a colon, and a short description. The body must contain a letter followed by text and two blank line breaks, and end with a ticket identifier prefixed with 'TT' or 'PT'. It is useful for enforcing strict commit message formatting in version control workflows.