summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-02 23:49:57 +0200
committerJohn Ankarstr\xf6m <john@ankarstrom.se>2021-06-02 23:49:57 +0200
commitfb7d4f762750dbb83ec4fd0a6c8936eeebb3c89c (patch)
treed84bdf3e5114dd6631477f902c7f1bb9f1286fdf
parent3fb6e7ec9efa61e4c2599c79314bed98577af3e1 (diff)
downloadref-fb7d4f762750dbb83ec4fd0a6c8936eeebb3c89c.tar.gz
re: Account for missing indentation
-rwxr-xr-xre2
1 files changed, 1 insertions, 1 deletions
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/;