From 036e9f81f14ab453afb3d2e2f76681cd8d30a0cd Mon Sep 17 00:00:00 2001 From: Emlyn Corrin Date: Mon, 3 Feb 2020 12:37:24 +0000 Subject: [PATCH] Fix regex The hyphen should be the last (or first) item in the character class to prevent it being interpreted as a range indicator --- .gitignore | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 21bb1cce..e17a67da 100644 --- a/.gitignore +++ b/.gitignore @@ -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 -- 2.11.0