On Thu, Jan 28, 2016 at 9:17 PM, Christian Brabandt <
[email protected]> wrote:

> Hm, I think you closed too early. In my opinion an empty glob pattern
> should result in an empty regexp
>
>
>
> Christian, I wouldn't have thought this of you.

An empty glob pattern matches only the empty string.
An empty Vim pattern matches anything.
So you can't translate one by the other.
To match the empty string (with =~ and friends) you need '^$' which is what
you already get.

Conclusion:
It isn't a bug, it's a feature.


Best regards,
Tony.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui