From b1103a7cec6b4b32c65a33810fd68208cbf953e2 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 14 Jul 2021 12:30:29 -0300 Subject: aux/workflow/TODOs.sh: Allow tags to appear after the ID marker Adjust aux/workflow/assert-todos.sh accordingly. --- aux/workflow/assert-todos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'aux/workflow/assert-todos.sh') diff --git a/aux/workflow/assert-todos.sh b/aux/workflow/assert-todos.sh index ca73b7f..b5e7375 100755 --- a/aux/workflow/assert-todos.sh +++ b/aux/workflow/assert-todos.sh @@ -30,7 +30,7 @@ h2flag == 1 { } /^## (TODO|DOING|WAITING|MEETING|INACTIVE|NEXT|CANCELLED|DONE)/ { - if (match($0, / \{#.*?\}$/) == 0) { + if (match($0, / \{#.*?\}.*$/) == 0) { print "Missing ID for line " NR ":\n" $0 exitstatus = 1 } -- cgit v1.2.3