Hi So8res!
On Mo, 19 Nov 2012, So8res wrote:
> The substitute() function already can take the 'g' flag which causes
> the substitution to be global. There's no way to force the search to
> be case (in)sensitive, though. This means that plugins must either
> save & restore ignorecase before using substitute() or be OK with the
> case sensitivity of their substitutions changing at the user's whim.
>
> Is there a good reason why substitute() doesn't already take the i/I
> flags?
It should probably be documented. Other then that, the \c and \C atoms
work. See :h \c
regards,
Christian
--
Takt ist, wenn man's genau betrachtet, eine Art von Hellseherei.
-- S. O. Jewett
--
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