Re: "\ " =~# "\ " => 0
Peter Odding wrote:
> Jürgen Krämer wrote:ah, yes, thank you. I had not thought about the special treatment of
>> why? AFAIU "\<Plug>" is equivalent to '<Plug>' and this is a valid pattern.
> Double quoted strings in Vimscript can contain "special keys" like \<CR>
> which define special key mappings, see :help expr-quote. You can try it
> :echo "\<Plug>"
> :echo '\<Plug>'
> What Bram is talking about is that the result of "\<Plug>" isn't a valid
> regular expression because of the embedded special key.
"\<...>", because \<Plug> looked so 'un-key-ly'.
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)
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