Hi,

:echo expand("/a/b/c d")
/a/b/c d

:echo expand("/a/b/c'd")
/a/b/c'd

:echo expand("/a/b/c 'd")
/a/b/c
'd

Is this expected behaviour or am I supposed to escape the apostrophe ?

:echo expand("/a/b/c \\'d")
/a/b/c 'd


I'm using :version
VIM - Vi IMproved 7.1 (2007 May 12, compiled Oct 13 2007 17:36:48)
Included patches: 1-138

Thanks

-- 
        Vlad

Attachment: pgpVP4QhjQAHO.pgp
Description: PGP signature

Raspunde prin e-mail lui