printer: preserve line terminator when using --crlf and --replace

Ref #3097, Closes #3100
This commit is contained in:
Isaac
2025-07-09 22:46:40 +10:00
committed by Andrew Gallant
parent f596a5d875
commit 64174b8e68
3 changed files with 59 additions and 7 deletions

View File

@@ -27,6 +27,8 @@ Bug fixes:
Fix a bug where ripgrep would mishandle globs that ended with a `.`.
* [BUG #3076](https://github.com/BurntSushi/ripgrep/issues/3076):
Fix bug with `-m/--max-count` and `-U/--multiline` showing too many matches.
* [BUG #3100](https://github.com/BurntSushi/ripgrep/pull/3100):
Preserve line terminators when using `-r/--replace` flag.
* [BUG #3108](https://github.com/BurntSushi/ripgrep/issues/3108):
Fix a bug where `-q --files-without-match` inverted the exit code.
* [BUG #3140](https://github.com/BurntSushi/ripgrep/issues/3140):