I want to look into this patch from view point of multibyte characters.
Where can I get it?
--
--
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 vim_dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
New regexp NFA engine isn't work with multi-byte characters.
vim72-re ?
BTW, I hope to include vim-cmdsrv-nox to vim74.
https://code.google.com/r/yukihironakadaira-vim-cmdsrv-nox/
https://groups.google.com/d/msg/vim_dev/JI4p9_fgQUw/nCRaqD2T1IUJ
2013/05/10 Fri 10:21:37 UTC+9 mattn wrote:
> On Friday, May 10, 2013 3:55:02 AM UTC+9, Bram Moolenaar wrote:
> > > https://code.google.com/p/vim-soc2008-regexp/wiki/nfa_bugs
> >
> > Andrei (the student who worked on this) does mention multi-byte. He
> > says it slows down the execution, thus the multi-byte support should be
> > there. We need to find the latest version of the code.
>
> vim72-re ?
I have updated Andrei's patch for 7.3.929.
https://bitbucket.org/k_takata/vim-soc2008-regexp-mq/src/438636dfa7c6faa41b5f1281c7a931f6938c64df/vim-soc2008-regexp.diff?at=default
I also fixed the following:
* Couldn't compile with VC10.
* Update makefiles for Windows. (Make_cyg.mak, Make_ming.mak and Make_mvc.mak)
* Some typos.
* Indents.
Maybe we need more work and testing...
Best regards,
Ken Takata
2013/05/11 Sat 5:25:21 UTC+9 Bram Moolenaar wrote:
> Ken Takata wrote:
>
> > 2013/05/10 Fri 10:21:37 UTC+9 mattn wrote:
> > > On Friday, May 10, 2013 3:55:02 AM UTC+9, Bram Moolenaar wrote:
> > > > > https://code.google.com/p/vim-soc2008-regexp/wiki/nfa_bugs
> > > >
> > > > Andrei (the student who worked on this) does mention multi-byte. He
> > > > says it slows down the execution, thus the multi-byte support should be
> > > > there. We need to find the latest version of the code.
> > >
> > > vim72-re ?
> >
> > I have updated Andrei's patch for 7.3.929.
> > https://bitbucket.org/k_takata/vim-soc2008-regexp-mq/src/438636dfa7c6faa41b5f1281c7a931f6938c64df/vim-soc2008-regexp.diff?at=default
> >
> > I also fixed the following:
> > * Couldn't compile with VC10.
> > * Update makefiles for Windows. (Make_cyg.mak, Make_ming.mak and Make_mvc.mak)
> > * Some typos.
> > * Indents.
>
> Thanks!
>
> > Maybe we need more work and testing...
>
> Definitely. My plan is to collect a large number of files for supported
> syntax. Then compare the highlighting with the old and the new engine.
> I expect this the toughest way to verify regexp patterns work properly.
>
> Another thing to do is checking performance. Andrei already noticed
> that the new engine can be twice as slow as the old one. We either need
> to make it faster or use the old engine where it is faster.
I have updated the regexp patch:
https://bitbucket.org/k_takata/vim-soc2008-regexp-mq/src/0ba4d0226d1d83cb30b7b2474d06c69b324e9692/vim-soc2008-regexp.diff?at=default
Two items are fixed:
* Fix compile error with VC10 when DEBUG is defined.
* Fix indents.
The latest patch will be available at:
https://bitbucket.org/k_takata/vim-soc2008-regexp-mq/src/tip/vim-soc2008-regexp.diff?at=default
("tip" is used as a commit ID.)
I tested whether this new engine supports multibyte or not.
I tried with enc=utf-8 and enc=cp932. It seems to work.
Thanks,
Ken Takata