On Jul 18, 2013 11:48 PM, "John Beckett" <johnb.beckett@gmail.com> wrote:
>
> shawn wilson wrote:
> > This is probably a feature request but I really do hate the
> > regex engine and would love to swap it out. Is there / can
> > there be a compile time option to use a different engine?
>
> No (I assume you want different regex syntax, probably PCRE).
>
libpcre would be fine, yes. Or the library that Ruby uses - either way.
> Tony's post is talking about a new Vim regex engine intended to
> be fully compatible with the old syntax, but faster.
>
Though this means there's already code for choosing between engines which is good.
> Like Vim's scripting language, Vim's regex syntax makes a lot of
> sense for editing text because they provide procedures that
> often work in an optimum way.
>
Yeah, it looks like sed's syntax. If I'm used to writing things one way (say in code) and then hit '/' to do a similar thing inside my editor, switching mindset constantly makes me loose my thought (generally what happens) or make stupid errors like earlier in this thread.
I guess this should be a feature request then?
----
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