aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-26 09:24:32 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-26 09:24:32 +0100
commitd2fd7b7c83e57d36b9c28b005e22c60938424cc6 (patch)
tree2b0967eb30426be2e9d1f97a94b8c9c5411beda8
parent8f9cf56e6e46617e8ba4d3cf2135906c8ce493f6 (diff)
parentc5cc7d096f91308654180af8b5e4d88aa65250cf (diff)
Merge branch 'master' of github.com:yulqen/perlscripts
-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";
};