Monday, October 8, 2012

Re: [Rephrased] Problem with a regular expression in Vim

On Mon, Oct 08, 2012 at 03:53:29PM EDT, Ben Fritz wrote:

[..]

Hi Ben,

Thanks much for your comments.

I did run some tests to try and figure out what that perl "g" flag was
for and wrongly concluded -- shades of Vim, I guess, that it meant
something like repeat match until end-of-string.

I think the trouble about regexes is that beyond textbook cases, there
never appears to be a straightforward solution, even to trivial
problems. I remember a thread not so long ago where the OP needed to
collapse empty lines among others..

All rather frustrating.

CJ

--
HOW ARE YOU GENTLEMEN?

--
You received this message from the "vim_use" 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

No comments:

Post a Comment