1
0
mirror of https://github.com/BurntSushi/ripgrep.git synced 2024-12-12 19:18:24 +02:00
ripgrep/grep-regex/src
lesnyrumcajs 5962abc465 searcher: add option to disable BOM sniffing
This commit adds a new encoding feature where the -E/--encoding flag
will now accept a value of 'none'. When given this value, all encoding
related machinery is disabled and ripgrep will search the raw bytes of
the file, including the BOM if it's present.

Closes #1207, Closes #1208
2019-04-06 10:35:08 -04:00
..
ast.rs libripgrep: initial commit introducing libripgrep 2018-08-20 07:10:19 -04:00
config.rs regex: fix a perf bug when using -w flag 2019-04-05 23:24:08 -04:00
crlf.rs regex: print out final regex in trace mode 2019-04-05 23:24:08 -04:00
error.rs libripgrep: initial commit introducing libripgrep 2018-08-20 07:10:19 -04:00
lib.rs libripgrep: initial commit introducing libripgrep 2018-08-20 07:10:19 -04:00
literal.rs regex: fix a perf bug when using -w flag 2019-04-05 23:24:08 -04:00
matcher.rs searcher: add option to disable BOM sniffing 2019-04-06 10:35:08 -04:00
non_matching.rs libripgrep: initial commit introducing libripgrep 2018-08-20 07:10:19 -04:00
strip.rs libripgrep: initial commit introducing libripgrep 2018-08-20 07:10:19 -04:00
util.rs libripgrep: initial commit introducing libripgrep 2018-08-20 07:10:19 -04:00
word.rs regex: print out final regex in trace mode 2019-04-05 23:24:08 -04:00