diff --git a/verify-spdx-headers b/verify-spdx-headers index 21560ed..22f83c7 100755 --- a/verify-spdx-headers +++ b/verify-spdx-headers @@ -4,7 +4,7 @@ import os import re -SLUG = re.compile('[a-zA-Z0-9.-]+') +SLUG = re.compile('[- a-zA-Z0-9.]+') SPDX = re.compile(f'SPDX-License-Identifier:\s+({SLUG.pattern})') class Language: