Thursday, April 29, 2021

Re: What is fuzzy matching?

Tony wrote:

> The help for :vimgrep (in quickfix.txt with "Last change: 2021 Feb
> 05", maybe that date is in error) now mentions an [f] flag without
> saying what it does. One recent vim_dev thread makes me think that
> with the 'f' flag "fuzzy matching" is used. So I used :helpgrep
> \<fuzzy\> and found several mentions of fuzzy matching, but AFAICT
> they all assume that the reader knows what fuzzy matching is. Nowhere
> did I see the expression defined. So what is fuzzy matching?

It appears a part of the patch didn't end up in the git commit:

When the 'f' flag is specified, fuzzy string matching
is used to find matching lines. In this case,
{pattern} is treated as a literal string instead of a
regular expression. See |matchfuzzy()| for more info
about fuzzy matching.


--
hundred-and-one symptoms of being an internet addict:
194. Your business cards contain your e-mail and home page address.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/202104291226.13TCQ7NG3240964%40masaka.moolenaar.net.

No comments: