Andrei Aiordachioaie <[EMAIL PROTECTED]> wrote:
> Do you have any other ideas or suggestions?
and later said:
> Also, regexps in vim look hard to read...
Matthew Winn added:
> The point of Vim's (vi's) regular expressions is to make them quicker
> to type interactively, which is how most regular expressions are used.
...
> Contrast this with Perl, where regular expressions are built into the
> language...a strategy that makes sense for a programming language
> doesn't necessarily make sense for an editor.
I really like Perl's x modifier on regexes (which makes whitespace and
comments insignificant in the regex, allowing it to be spread over
several lines with indentation and comments). I wonder if something
similar would work in Vim, being intended for Vim scripts rather than
interactive use.
--
John Little
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---