diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-09-25 10:29:23 +0100 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-09-25 10:29:23 +0100 |
commit | c5cc7d096f91308654180af8b5e4d88aa65250cf (patch) | |
tree | e734975809994a6dbfbd33786ffb3d089b8fa75e | |
parent | c51d6b4e90fd79fe49afb5c93cdc462d12a1db4e (diff) |
fixed bug whereby quicktask lines starting with ~ wouldnt be picked up
-rwxr-xr-x | calendar/dayplan_revised.pl | 2 |
1 files changed, 1 insertions, 1 deletions
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"; }; |