diff --git a/runoff1 b/runoff1 index 67cb603..ed29ea5 100755 --- a/runoff1 +++ b/runoff1 @@ -42,7 +42,7 @@ for($i=0; $i<@lines; ){ $breakbefore = $j; $lines[$j] = ""; } - if($lines[$j] =~ /^}$/){ + if($lines[$j] =~ /^};?$/){ $breakbefore = $j+1; } if($lines[$j] =~ /^{$/){