Re: regexp: does anyone really need ordered alternation?

2008-03-28 Fir de Conversatie Matt Wozniski
On Thu, Mar 27, 2008 at 2:47 PM, Bram Moolenaar wrote: Xiaozhou Liu wrote: During the development of the new regexp, one thing confuses me a lot: ordered alternation. (e.g. given r.e. 'ab\|abc' and text 'abc', 'ab' matched, not 'abc') I know that 100% compatibility is one of the

Re: regexp: does anyone really need ordered alternation?

2008-03-28 Fir de Conversatie Matthew Winn
On Fri, 28 Mar 2008 02:09:19 -0400, Matt Wozniski [EMAIL PROTECTED] wrote: For what it's worth, I disagree strongly. This behavior is nothing but a bug in the existing implementation - a documented bug, but a bug nonetheless. In this particular case, I definitely think that we should

Re: regexp: does anyone really need ordered alternation?

2008-03-28 Fir de Conversatie Antony Scriven
On 28/03/2008, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: [...] Jeffrey Friedel discusses this in his book Mastering Regular Expressions in chapter 4, section NFA, DFA, and POSIX. [...] Jeffrey writes: If efficiency is an issue with a Traditional NFA (and with backtracking, believe

Re: regexp: does anyone really need ordered alternation?

2008-03-28 Fir de Conversatie Mikołaj Machowski
lurker mode off From user point of view: does this new way of treating \| bring speed gains? \| is one of the most time expensive operators in Vim. If we could have improvement here I would say - go for it. lurker mode on Piotr Żaczek na

Google Summer of Code Idea, VIM live, update as you type, preview of HTML

2008-03-28 Fir de Conversatie Nicholas Dudfield
Greetings all, I am interested in doing a GSOC project for the VIM organization and I would like to get feedback on the idea. ** Pythonic Firefox Automation/LivePreview ** * Abstract * An HTML, update as you type, live preview implementation for VIM using MozillaBrowser and PyXPCOM. This

Re: regexp: does anyone really need ordered alternation?

2008-03-28 Fir de Conversatie Nico Weber
Interesting selection of languages to try ;-) You may have picked the ones with a common regex code base. Russ Cox's article certainly shows similar performance/behaviour (See section and graph on Performance at http://swtch.com/~rsc/regexp/regexp1.html) I wonder what Tcl and awk do?

Re: Google Summer of Code Idea, VIM live, update as you type, preview of HTML

2008-03-28 Fir de Conversatie sc
On Friday 28 March 2008 08:02, Nicholas Dudfield wrote: Greetings all, I am interested in doing a GSOC project for the VIM organization and I would like to get feedback on the idea. ** Pythonic Firefox Automation/LivePreview ** * Abstract * An HTML, update as you type, live preview

Re: Google Summer of Code Idea, VIM live, update as you type, preview of HTML

2008-03-28 Fir de Conversatie George V. Reilly
On 28/03/2008, sc [EMAIL PROTECTED] wrote: On Friday 28 March 2008 08:02, Nicholas Dudfield wrote: I am interested in doing a GSOC project for the VIM organization and I would like to get feedback on the idea. * Summary * A Mozilla Browser automation and DOM manipulation class

Re: (patch) fixed read overflow in spelling checker when line has = 150 space indentation

2008-03-28 Fir de Conversatie Bram Moolenaar
Dominique Pelle wrote: Valgrind memory checker detects the following bug in Vim-7.1.285: ==10530== Conditional jump or move depends on uninitialised value(s) ==10530==at 0x81665C7: win_line (screen.c:2955) ==10530==by 0x8164049: win_update (screen.c:1765) ==10530==by

RE: Google Summer of Code Idea, VIM live, update as you type, preview of HTML

2008-03-28 Fir de Conversatie Nicholas Dudfield
Thanks for the feedback guys. It is good to know people out there are interested. I will submit an application. From: vim_dev@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of George V. Reilly Sent: Saturday, March 29, 2008 5:43 AM To: vim_dev@googlegroups.com Subject: Re: Google Summer

Re: Small Parenthesis Marker bug in gVim v7.1 for Windows

2008-03-28 Fir de Conversatie
Quoting Bram Moolenaar [EMAIL PROTECTED]: Tim Duncan wrote: I found a small bug with gVim v7.1 on Windows XP. When I have the cursor on a parenthesis so it and it's mate are highlighted and then do a Find Replace where the Replace is a different length than the Find I have