Reply to message «Re: Small indent/perl.vim patch concerning bad match 
patterns», 
sent 15:44:46 18 November 2010, Thursday
by James Vega:

> Since when is people not following documented behavior a reason to
> change the tool?  I'd be more understanding if Vim didn't explicitly
> outline the escape sequences it does allow inside a collection.
Here are the reasons:
1. People assume that `\[' is `[', not `\\[', there are already lots of scripts 
that do need fixing and treating `\[' as `\\[' is non-obvious.
2. Other most popular regex engines treat `[\[]' as `\[', not as `(\\|\[)'.
3. Parenthesis matching has `\['-`\]' and `['-`]' pairs, not `['-`\]'.

Attachment: signature.asc
Description: This is a digitally signed message part.

Raspunde prin e-mail lui