fzf/src/algo
Junegunn Choi 4c9cab3f8a
Fix prefix/suffix/equal matcher to trim whitespaces
- Prefix matcher will trim leading whitespaces only when the pattern
  doesn't start with a whitespace
- Suffix matcher will trim trailing whitespaces only when the pattern
  doesn't end with a whitespace
- Equal matcher will trim leading whitespaces only when the pattern
  doesn't start with a whitespace, and trim trailing whitespaces only
  when the pattern doesn't end with a whitespace

Previously, only suffix matcher would trim whitespaces unconditionally.

Fix #1894
2020-03-01 12:36:02 +09:00
..
algo_test.go Fix prefix/suffix/equal matcher to trim whitespaces 2020-03-01 12:36:02 +09:00
algo.go Fix prefix/suffix/equal matcher to trim whitespaces 2020-03-01 12:36:02 +09:00
normalize.go Normalize pattern string before passing it to Algo function 2017-01-09 09:52:17 +09:00