David Fishburn wrote:
> > > > > Using 7.3.1004 on Win 7 64 bit.
> > > > >
> > > > > gvim -u NONE -U NONE --noplugins
> > > > >
> > > > > :set re=0
> > > > > :echo split(" TBD NOTE XXX FIXME TODO \n")
> > > > > ['TBD', 'NOTE', 'XXX', 'FIXME', 'TODO', '
> > > > > ']
> > > > >
> > > > > :set re=1
> > > > > :echo split(" TBD NOTE XXX FIXME TODO \n")
> > > > > ['TBD', 'NOTE', 'XXX', 'FIXME', 'TODO']
> > > > >
> > > > > This is a distilled case, it is affecting the results from the
> > > > > autoload/syntaxcomplete.vim plugin.
> > > >
> > > > I think patch 1005 fixed this as well. The matching of line breaks was
> > > > implemented in a wrong way. Hopefully my solution fixes many patterns
> > > > that match a line break.
> > >
> > > No, same incorrect behaviour using this:
> > >
> > > :ver
> > > VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 22 2013 21:08:23)
> > > MS-Windows 32-bit GUI version with OLE support
> > > Included patches: 1-1005
> >
> > Then why can't I reproduce this problem?
> > For me re=0 and re=1 do the same thing.
> > That's on 32 bit, but it's unlikely that makes a difference (not
> > impossible though).
> >
> > I build a 32-bit version of Vim.
>
> I also do a nmake clean before nmake.
>
> I just tried with this version and still have the change in behaviour:
> :ver
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled May 27 2013 09:14:00)
> MS-Windows 32-bit GUI version with OLE support
> Included patches: 1-1031
> Compiled by dfishburn@host
> Big version with GUI. Features included (+) or not (-):
[...]
>
> With this nmake command:
>
> C:\OpenSrc\vim\src>nmake -f Make_mvc.mak debug=no gui=yes cscope=yes
> OLE=yes PYT
> HON3=C:\Python33 DYNAMIC_PYTHON3=yes PYTHON3_VER=33 PERL=C:\Perl
> DYNAMIC_PERL=ye
> s PERL_VER=510 XPM=xpm\x86 clean
>
> Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
> Copyright (C) Microsoft Corporation. All rights reserved.
[...]
> Let me know what I could gather (and how to) to assist more.
This command should do the same thing:
:echo split(" TBD NOTE XXX FIXME TODO \n", '\%#=2[\x01- ]\+')
Can you try changing the pattern and find out why it does not match the
\n?
--
A consultant is a person who takes your money and annoys your employees while
tirelessly searching for the best way to extend the consulting contract.
(Scott Adams - The Dilbert principle)
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.