On Nov 2, 9:45 am, Andy Wokula <[email protected]> wrote:
> Looks like split() never ignores case:
> :set ic
> :echo split('abcABC', 'b')
> ['a', 'cABC']
>
> but this is not mentioned in
> :h split()
>
> What about adding a line (taken from :h :helpgrep):
> 'ignorecase' is not used, add "\c" to ignore case.
>
> --
> Andy
This works:
echo split('abcABC', '[Bb]')
['a', 'cA', 'C']
Bill
--
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