mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-06-14 22:15:13 +02:00
Fix grep match iterator.
This commit is contained in:
@ -254,7 +254,7 @@ impl<'b, 's> Iterator for Iter<'b, 's> {
|
||||
self.start = self.buf.len();
|
||||
return None;
|
||||
}
|
||||
self.start = mat.end + 1;
|
||||
self.start = mat.end;
|
||||
Some(mat)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user