Mercurial > vim
view src/testdir/test97.in @ 5794:a63d0cd691dc v7.4.241
updated for version 7.4.241
Problem: The string returned by submatch() does not distinguish between a
NL from a line break and a NL that stands for a NUL character.
Solution: Add a second argument to return a list. (ZyX)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 02 Apr 2014 19:00:58 +0200 |
parents | 93cccad6a26b |
children | 8e9db1f27a00 |
line wrap: on
line source
Test whether glob()/globpath() return correct results with certain escaped characters. STARTTEST :so small.vim :set shell=doesnotexist :e test.out :put =glob('Xxx\{') :put =glob('Xxx\$') :w! Xxx{ :w! Xxx\$ :put =glob('Xxx\{') :put =glob('Xxx\$') :w :qa! ENDTEST