Hi, Bram Moolenaar wrote: > > Tyru Exe wrote: > >> Hi list. >> >> I tested this code on vim73. >> :echo "\<Plug>" =~# "\<Plug>" => 0 >> >> Is this right behavior? > > Yes, using "\<Plug>" as a regexp will give unpredictable behavior. > It's not a valid pattern. >
why? AFAIU "\<Plug>" is equivalent to '<Plug>' and this is a valid pattern. Regards, Jürgen -- 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