Allow more flexible spacing.

This commit is contained in:
Bradley M. Kuhn 2013-08-27 19:26:03 -04:00
parent 25ae4d4b4a
commit 11f444fd15

View file

@ -79,7 +79,7 @@ while (my $line = <THREE_DAYS>) {
'Appointment', "You have an appointment at $start: $rest");
}
}
} elsif ($line =~ /^\s+(?:birthday|anniversary)\s*:\s+(\S.+)\s*$/i) {
} elsif ($line =~ /^\s+(?:birthday|anniversary)\s*:\s*(\S.+)\s*$/i) {
$thisLinePrintable = " $1";
}
if (defined $thisLinePrintable) {