Loading ...
Sorry, an error occurred while loading the content.

67031Re: split() and 'ic'

Expand Messages
  • Bram Moolenaar
    Nov 4, 2012
      Andy Wokula 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.

      I'll add something like that.

      hundred-and-one symptoms of being an internet addict:
      17. You turn on your intercom when leaving the room so you can hear if new
      e-mail arrives.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      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
    • Show all 3 messages in this topic