summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocalmarkdown2sms2
1 files changed, 1 insertions, 1 deletions
diff --git a/localmarkdown2sms b/localmarkdown2sms
index 412a538..f394764 100755
--- a/localmarkdown2sms
+++ b/localmarkdown2sms
@@ -94,7 +94,7 @@ foreach my $file (read_dir( $path )) {
$skipcontent = 1;
}
# delay
- } elsif ($level == 2 and $content =~ /((\d+[sm](\s+|\Z))+)/) {
+ } elsif ($level == 2 and $content =~ /((\d+[sm]\s?)+)/) {
$skipcontent = undef;
if (defined( $key)) {
my $delay = parse_duration($1);