Hi,

On Wed, Oct 23, 2024 at 1:58 PM bfrg <vim-dev-git...@256bit.org> wrote:

> It seems like v:fname is always prefixed with a ^. For example, if I type 
> :find
> foo and press TAB, v:fname will be set to ^foo.
>
>
>
Yes.  When expanding file names, Vim internally adds wildcards to the
search string.
It will be simpler to use in a Vim regular expression comparison if this is
converted to
a regular expression pattern.  So when the 'findexpr' expression is
evaluated for
command line argument completion, the string is converted to a regular
expression.
I should have updated the document to reflect this.

- Yegappan

-- 
-- 
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7kv32aP%3D3mSVoLoYgXOiBGvwVWCr6oytK6PXT2cCmG2%3Dg%40mail.gmail.com.

Raspunde prin e-mail lui