aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Lemon <matt@matthewlemon.com>2022-09-26 09:24:24 +0100
committerMatthew Lemon <matt@matthewlemon.com>2022-09-26 09:24:24 +0100
commit8f9cf56e6e46617e8ba4d3cf2135906c8ce493f6 (patch)
tree3e4fd09d906aa7df385574d5f97a821f13e6d53c
parentc51d6b4e90fd79fe49afb5c93cdc462d12a1db4e (diff)
fixed tag bug
-rw-r--r--journal/get_journal_tags.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/journal/get_journal_tags.pl b/journal/get_journal_tags.pl
index 2dbd2e7..713babf 100644
--- a/journal/get_journal_tags.pl
+++ b/journal/get_journal_tags.pl
@@ -6,7 +6,7 @@ my @tags;
foreach my $fn (glob "~/Notes/journal/*.md") {
open my $FH, "<", $fn or die "Cannot open $fn";
while (<$FH>) {
- if (/(\s:[A-Z]\w+)/) {
+ while (/(\s:[A-Z]\w+)/g) {
push @tags, $1;
}