diff options
Diffstat (limited to 're')
-rwxr-xr-x | re | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -65,11 +65,12 @@ for (@references) { local $_; while ($_ = readline $handles{$file}) { $lines{$file}++; + chomp; if ($rx->match($_)) { $loc = $bytes{$file}; last; } - $bytes{$file} += length($_); + $bytes{$file} += length($_)+1; } } else { goto invalid; |