aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}