On Wed, Feb 13, 2013 at 09:53:59PM -0500, James McCoy wrote:
> The other day in #vim, someone was wondering why :s/SOMEWORD/\L\u&/
> was resulting in sOMEWORD instead of title-case (Someword).

Oops, messed up my example.  :s/sOmeWord/\L\u&/ is better as the
expected outcome is "Someword" but only the \u takes effect so it's
actually "SOmeWord".

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui