Excerpts from Linda W's message of Tue Jan 10 02:25:10 +0100 2012: > Um, forgive me kind sir, for your generous offer, but might I suggest > that suggesting to someone who doesn't know all the exceptions and > syntax, to write an extension to automatically map such exceptions > and syntax into a more regular form might be a bit like having the > cart before the horse, not to mention, I've been told vim doesn't > have the same capabilities, so writing such would be an exercise of > great frustration...
Well - that there are perl regex which can't be translated to Vim regex would still allow such a function to be useful to you if you use features of perl regex which can be translated to Vim in most cases. There is a saying telling about buying notebooks for average case, not the exceptional case. That's also the success story of linux. Maybe it also can be applied to this small issue. Would you mind talking about what you're doing while missing perl regex most? Is it using Vim's search feature? Is it writing Vim syntax highlighting ? Is it using vim's builtin grep feature? Is it writing VimL? Maybe you can write some tools allowing you to use perl instead of Vim to get your job done easily - and use Vim only to display the results? An example would be using :grep instead of :vimgrep. So when do you use regex most? When search texts in the file? When replacing text? ... Marc Weber -- 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
