From 6188785e488debe722ac1f4bb6c70ec7fb12d575 Mon Sep 17 00:00:00 2001 From: Tyler Szabo Date: Fri, 4 Dec 2020 13:32:53 -0800 Subject: [PATCH] Fix tests on Debian (#326) Corrected an additional regex to match tags on mawk 1.3.3 in Debian --- todo.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/todo.sh b/todo.sh index 1de99af..c7d8564 100755 --- a/todo.sh +++ b/todo.sh @@ -1009,7 +1009,7 @@ _format() printf "%s", ctx_beg words[i] ctx_end } else if (words[i] ~ /^(19|20)[0-9][0-9]-(0[1-9]|1[012])-(0[1-9]|[12][0-9]|3[01])$/) { printf "%s", dat_beg words[i] dat_end - } else if (words[i] ~ /^[[:alnum:]]+:[^ ]+$/) { + } else if (words[i] ~ /^[A-Za-z0-9]+:[^ ]+$/) { printf "%s", met_beg words[i] met_end } else { printf "%s", words[i]