From c5cc7d096f91308654180af8b5e4d88aa65250cf Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 25 Sep 2022 10:29:23 +0100 Subject: fixed bug whereby quicktask lines starting with ~ wouldnt be picked up --- calendar/dayplan_revised.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/calendar/dayplan_revised.pl b/calendar/dayplan_revised.pl index 1cf40c8..96eeca0 100755 --- a/calendar/dayplan_revised.pl +++ b/calendar/dayplan_revised.pl @@ -41,7 +41,7 @@ sub get_quicknotes_and_quickfiles { foreach my $f (glob("$dayplans/*")) { open my $fh, "<", $f or die "Cannot open f"; while (<$fh>) { - if ($_ =~ /^- (\w.*)$/) { + if ($_ =~ /^- (.*)$/) { push @quicknotes => "- $1\n"; push @qfiles => "$f\n"; }; -- cgit v1.2.3