1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/tests
Andrew Gallant 276e2c9b9a
searcher: always strip BOM
This fixes a bug where a BOM prefix was included. While this was somewhat
intentional in order to have a faithful "UTF8 passthru" option, in
practice, this causes problems such as breaking patterns like `^` in a
really non-obvious way.

The actual fix was to add a new API to encoding_rs_io, which this commit
brings in.

Fixes #1163
2019-01-25 17:18:57 -05:00
..
data grep-cli: support Brotli/Zstd decompression 2019-01-22 20:56:16 -05:00
feature.rs edition: move core ripgrep to Rust 2018 2019-01-19 10:44:30 -05:00
hay.rs tests: re-tool integration tests 2018-08-20 07:10:19 -04:00
json.rs edition: move core ripgrep to Rust 2018 2019-01-19 10:44:30 -05:00
macros.rs edition: move core ripgrep to Rust 2018 2019-01-19 10:44:30 -05:00
misc.rs grep-cli: support Brotli/Zstd decompression 2019-01-22 20:56:16 -05:00
multiline.rs edition: move core ripgrep to Rust 2018 2019-01-19 10:44:30 -05:00
regression.rs searcher: always strip BOM 2019-01-25 17:18:57 -05:00
tests.rs edition: move core ripgrep to Rust 2018 2019-01-19 10:44:30 -05:00
util.rs tests: touch up tests on Windows 2018-08-21 23:05:52 -04:00