Make default multiline regex matching behavior clear

Description

Need to view the following discussion for the full context of what users have been complaining about:

Multiple issues have been made during the commit hooks history. Users believe that the regex has Pattern.DOTALL and Pattern.CASE_INSENSITIVE enabled by default, and get confused and open issues when their regex doesn’t work.

Behavior is documented, but users are still missing it.

#####Multi-line Commit Messages

Multi-line commit messages can be matched by including newlines into the regex (like `(.|\n)*`), or by enabling Pattern.DOTALL using the `(?s)` embedded flag expression.

Assignee

Unassigned

Reporter

Mohammed Davoodi

Labels

Priority

High
Configure