search: fix -F and -f interaction bug
Before adoption: this commit came in with the history the project adopted, so no landing records it.
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
authored by Andrew Gallant · committed by Andrew Gallant · parent f3164f2 · Browse files · 3 files+40 added−6 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
3 files+40 added−6 removed
- tests:+22 added−0 removed
- other:+18 added−6 removed