From fb7d4f762750dbb83ec4fd0a6c8936eeebb3c89c Mon Sep 17 00:00:00 2001 From: "John Ankarstr\\xf6m" Date: Wed, 2 Jun 2021 23:49:57 +0200 Subject: re: Account for missing indentation --- re | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re b/re index 78f4129..cd373aa 100755 --- a/re +++ b/re @@ -111,7 +111,7 @@ while (<$fh>) { while ($_ = readline $handles{$file}) { $bytes += length($_); last if $end and $bytes > $end; - /^(\s+)/; my $indent = $1; + /^(\s*)/; my $indent = $1; my $max = 64; for (split //, $indent) { $max -= 7 if /\t/; -- cgit v1.2.3