diff --git a/bean-query-goofy-daemon.plx b/bean-query-goofy-daemon.plx index 08c8b79..a101ec1 100755 --- a/bean-query-goofy-daemon.plx +++ b/bean-query-goofy-daemon.plx @@ -237,7 +237,7 @@ while (1) { unless ($seenSeperator) { if ($line =~ /^\s*$/) { $seenSeperator = 1; - } elsif ($currentFormat eq 'text' and $line =~ /^\s*\-+\s*$/) { + } elsif ($currentFormat eq 'text' and $line =~ /^\s*[\-\s]+\s*$/) { $seenSeperator = 1; } $prevLine = $line;