Bugged fuzzy search with OR
- Dominant language
- Go
- Stars
- 83k
- Forks
- 2.9k
- Avg merge
- 17h 8m
- Merged PRs (30d)
- 10
Description
### Checklist
- [x] I have read through the manual page (`man fzf`)
- [x] I have searched through the existing issues
- [ ] For bug reports, I have checked if the bug is reproducible in the latest version of fzf
### Output of `fzf --version`
0.74.1
### OS
- [x] Linux
- [ ] macOS
- [ ] Windows
- [ ] Etc.
### Shell
- [x] bash
- [ ] zsh
- [ ] fish
### Problem / Steps to reproduce
piping `bat` plaint-text mode with highlighting into `fzf --raw --ansi --exact`
Searching by `failed | lock file` with the intent to: find lines containing `failed` OR (lines containing `lock` AND `file`), as seen below, only the part after `|` is matched and highlighted, only 3rd line, not all 3:
The only way of achieving match for all 3 lines is to use `failed | lock 'file`. This is unintuitive and inconsistent with the way it is supposed to work, as explained in the docs.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.