diff options
-rwxr-xr-x | localmarkdown2sms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/localmarkdown2sms b/localmarkdown2sms index 2959544..100ef52 100755 --- a/localmarkdown2sms +++ b/localmarkdown2sms @@ -68,7 +68,7 @@ foreach my $file (read_dir( $path )) { $key = undef; } # delay - } elsif ($level == 2 and $content =~ /(\d+[sm](\s+|\Z))+/) { + } elsif ($level == 2 and $content =~ /((\d+[sm](\s+|\Z))+)/) { if (defined( $key)) { my $delay = parse_duration($1); if (defined($reply{$key}[$i])) { |