The problem is the NFA engine can't figure out how much a multi in a submatch
should match.
I made a simplified case. We'll make a bunch of lines full of as. This regex
that uses the old engine matches lines with an even number of as:
\%#=1\v^(a*)\1$
This makes sense. The submatch can match
Urtica Dioica (Gaultheria Shallon?) wrote:
The regex in question became somewhat famous after the VimCast at
http://vimcasts.org/episodes/vimgolf-prime-numbers/
Here's the setup:
CTab1EscqqC-AYpq540@q
From here, the following command is used to remove lines with a
composite number
The regex in question became somewhat famous after the VimCast at
http://vimcasts.org/episodes/vimgolf-prime-numbers/
Here's the setup:
CTab1EscqqC-AYpq540@q
From here, the following command is used to remove lines with a composite
number ot tabs:
:g/\v^(TabTab+)\1+/dCR
On Vim 7.4.91, this