search: fix -F and -f interaction bug

This fixes what appears to be a pretty egregious regression where the
`-F/--fixed-strings` flag wasn't be applied to patterns supplied via
the `-f/--file` flag. The same bug existed for the `-x/--line-regexp`
flag as well, which we fix here.

Fixes #1176
This commit is contained in:
Andrew Gallant
2019-01-26 16:00:43 -05:00
parent f3164f2615
commit 0df71240ff
3 changed files with 40 additions and 6 deletions

View File

@@ -53,6 +53,8 @@ Bug fixes:
Fix handling of `**` patterns in gitignore files.
* [BUG #1174](https://github.com/BurntSushi/ripgrep/issues/1174):
Fix handling of repeated `**` patterns in gitignore files.
* [BUG #1176](https://github.com/BurntSushi/ripgrep/issues/1176):
Fix bug where `-F`/`-x` weren't applied to patterns given via `-f`.
0.10.0 (2018-09-07)