summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/mtags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/mtags.c b/bin/mtags.c
index 8f83496c..f055b443 100644
--- a/bin/mtags.c
+++ b/bin/mtags.c
@@ -53,7 +53,7 @@ int main(int argc, char *argv[]) {
 		|| regcomp(&makeFile, "(^|/)Makefile|[.]mk$", REG_EXTENDED | REG_NOSUB)
 		|| regcomp(
 			&makeLine,
-			"^([.][^$A-Z][^$[:space:]]*|[^.$][^$[:space:]]*):",
+			"^([.][^:$A-Z][^:$[:space:]]*|[^.:$][^:$[:space:]]*):",
 			REG_EXTENDED
 		)
 		|| regcomp(&mdocFile, "[.][1-9]$", REG_EXTENDED | REG_NOSUB)