Fix regex
authorEmlyn Corrin <emlyn.corrin@gmail.com>
Mon, 3 Feb 2020 12:37:24 +0000 (12:37 +0000)
committerGitHub <noreply@github.com>
Mon, 3 Feb 2020 12:37:24 +0000 (12:37 +0000)
The hyphen should be the last (or first) item in the character class to prevent it being interpreted as a range indicator

.gitignore

index 21bb1cc..e17a67d 100644 (file)
@@ -12,8 +12,8 @@ python/lib/aubio/_aubio.*.so
 RE:examples/[a-z]*
 
 # ignore compiled test programs
-RE:tests/src/test-[a-z-_]*$
-RE:tests/cpp/test-[a-z-_]*$
+RE:tests/src/test-[a-z_-]*$
+RE:tests/cpp/test-[a-z_-]*$
 
 # only sgml manpages count
 doc/*.1