Hi,

`:echo match("ip", "i\|p")` results in "-1" (ie. no match). I'd expect  
that I get "0" as the pattern matches right at the start of the string  
("i" is "i" or "p"). The documentation for `match()` claims that  
ordinary regex patterns with 'magic' set are accepted. Everything  
except branches seems to work (I tried character classes and  
wildcards), but the above does not. Is this a bug, or am I missing  
something?

Thanks,
Nico

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui