Test, validate and match regular expressions
This regex validates a conventional commit message format, including required type (e.g., feat, fix) and subject, with optional scope, breaking change marker, body, breaking change description, and footer. It uses multiline mode to match multi-line structures and unicode mode for word characters. Common use cases include enforcing commit message conventions in CI pipelines or pre-commit hooks.