Burak Gorkemli wrote: > Hi, > > I recently faced with a freeze in vim while trying to count lines with the > following substitute command (I have omitted the range param for simplicity): > > :s/\n//gn > > The problem seems to be related with the 'g' flag, since the following > command without 'g' is working properly: > > :s/\n//n > > I have tested this in both Windows (7.0 & 7.1) and Linux (7.0, hasn't checked > 7.1 yet) versions, and the freeze case can be produced in all of them. > > I am including the latest Windows version that I have tested with: > > VIM - Vi IMproved 7.1 (2007 May 12, compiled May 12 2007 14:19:39) > MS-Windows 32 bit GUI version with OLE support > Compiled by [EMAIL PROTECTED] > Big version with GUI. Features included (+) or not (-): [...]
No patches included. Can you reproduce the problem with the latest version (7.1.130 or later) found at https://sourceforge.net/project/showfiles.php?group_id=43866&package_id=39721 ? You may have to scroll down a little before you see it. For the ":version" listing, click the icon between file name and version number. See a one-line summary description of all 7.1 patches to date at http://ftp.vim.org/pub/vim/patches/7.1/README Best regards, Tony. -- This fortune intentionally not included. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
