aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-25 10:29:23 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-25 10:29:23 +0100
commitc5cc7d096f91308654180af8b5e4d88aa65250cf (patch)
treee734975809994a6dbfbd33786ffb3d089b8fa75e
parentc51d6b4e90fd79fe49afb5c93cdc462d12a1db4e (diff)
fixed bug whereby quicktask lines starting with ~ wouldnt be picked up
-rwxr-xr-xcalendar/dayplan_revised.pl2
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";
};