Vim 7.4 is released
vim.org
Vim 7.4 is released
1–10 of 126 posts
Re: Vim 7.4 is released
#2Of the former, the help file says:
What is now called the "old" regexp engine uses a backtracking algorithm. It tries to match the pattern with the text in one way, and when that fails it goes back and tries another way. This works fine for simple patterns, but complex patterns can be very slow on longer text.
The new engine uses a state machine. It tries all possible alternatives at the current character and stores the possible states of the pattern. This is a bit slower for simple patterns, but much faster for complex patterns and long text.
Most notably, syntax highlighting for Javascript and XML files with long lines is now working fine. Previously Vim could get stuck.
Re: Vim 7.4 is released
#3Re: Vim 7.4 is released
#4Bad form to require someone to install your program just to see your changelog, though. Please put up a page, or put the latest help docs online (the current set is still for 7.3) and link to the relevant section, instead of "see :help version7.4".
you can also get it here - https://gist.github.com/mjhea0/6200588
Re: Vim 7.4 is released
#5:help version7.4 has all the details, but the two most significant ones cited are "New regexp engine" and "A more pythonic Python interface." Of the former, the help file says: What is now called the "old" regexp engine uses a backtracking algorithm. It tries to match the pattern with the text in one way, and when that fails it goes back and tries another way. This works fine for simple patterns, but complex patterns…
To future regexp implementors: Do it this way first!
Re: Vim 7.4 is released
#6:help version7.4 has all the details, but the two most significant ones cited are "New regexp engine" and "A more pythonic Python interface." Of the former, the help file says: What is now called the "old" regexp engine uses a backtracking algorithm. It tries to match the pattern with the text in one way, and when that fails it goes back and tries another way. This works fine for simple patterns, but complex patterns…
It sounds like someone read Russ Cox's work on regexp. http://swtch.com/~rsc/regexp/ To future regexp implementors: Do it this way first!
Russ Cox? You know that regular expressions have existed since Kleene's first proposals, and everyone with a CS degrees knows that you can compile them to deterministic finite state automata. Right?
Re: Vim 7.4 is released
#7Earlier quoted context omitted.
It sounds like someone read Russ Cox's work on regexp. http://swtch.com/~rsc/regexp/ To future regexp implementors: Do it this way first!
It sounds like someone read Russ Cox's work on regexp. Russ Cox? You know that regular expressions have existed since Kleene's first proposals, and everyone with a CS degrees knows that you can compile them to deterministic finite state automata. Right?
I'm struggling to understand your negativity here..
Re: Vim 7.4 is released
#8Earlier quoted context omitted.
It sounds like someone read Russ Cox's work on regexp. http://swtch.com/~rsc/regexp/ To future regexp implementors: Do it this way first!
It sounds like someone read Russ Cox's work on regexp. Russ Cox? You know that regular expressions have existed since Kleene's first proposals, and everyone with a CS degrees knows that you can compile them to deterministic finite state automata. Right?
Oh, wait.
Re: Vim 7.4 is released
#9New patches for 7.4 will be in the patches/7.4 folder.