[COMMON] Allow '-' in commit topic
Some components may have `-` in their topic title. Thus it should be
allowed.
Second and other "topics" can now also use lower case letters.
Issue-ID: OOM-2648
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I0e12fdeac3788800755926aec3ffd425c87d6f98
diff --git a/.gitlint b/.gitlint
index 9f3a51d..7368780 100644
--- a/.gitlint
+++ b/.gitlint
@@ -1,5 +1,5 @@
[title-match-regex]
-regex=^\[[A-Z0-9]+]\[*[A-Z0-9]*]* [A-Z]+[\S ]*$
+regex=^\[[A-Z\d-]+]\[*[\w\d-]*]* [A-Z]+[\S ]*$
[body-match-regex]
regex=.{20,}