Wednesday, June 19, 2013

A "\v" (Posix ERE) regex config mode for Vim [Was: Dealing with empty strings in regexp.]

On 18.06.13 18:05, Paul Isambert wrote:
> Mapping "/" to "/\v" (and, slightly more difficult, ":s/" to ":s/\v")
> is something I've thought abouth doing many times but have never done,
> for some reason.

Now that's a darned good idea!

> I wish there were a "verymagic" option by default, I would have turned
> it on a long time ago.

+ 1 million

Quite a few years ago, I built Vim with a proper regex library from
another FOSS project. It provided posix ERE behaviour, which worked
beautifully, except that the Vim help broke. Maybe I should have found
the time to debug that.

Erik

--
Nowlan's Theory:
He who hesitates is not only lost, but several miles from the next
freeway exit.

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment