Hi, > So here is a patch, that allows 99 capturing groups in > the replacement part. This uses the perl-like syntax ${1} until ${99} > for the capturing groups in the replacement part.
While I personally like seeing the limit lifted, I personally would prefer named matching groups. This is how ruby deals with that. You still have 9 numbered groups but you can use any number of named groups (see here for an example: http://pragdave.blogs.pragprog.com/pragdave/2008/10/fun-with-ruby-19-regular-expressions.html). Regards, Tom. -- 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