meta:commit-msg: Allow all characters in prefix

There is no real reason for a restriction.

Also merge the two character groups.
This commit is contained in:
2022-10-21 00:49:17 +02:00
parent a94f72c4d9
commit b82405a8c0

View File

@@ -43,8 +43,8 @@ body="$(
# error messages are printed for the different 'levels' of the pattern. # error messages are printed for the different 'levels' of the pattern.
declare -a pats msg declare -a pats msg
pats=( pats=(
"^([-_,*(){}./a-zA-Z0-9]+:)+ " "^(.+:)+ "
"([\`'\"]|[A-Z])" "([A-Z\`'\"])"
".*[^.]$" ".*[^.]$"
) )
msg=( msg=(