136181Re: trouble with pattern, character collections
- Feb 17, 2013
> It depends. Within a text file those control chars can occur and youThanks for explaining it to me.
> usually want them to be matched by '.' (or [^\n] which is the same).
So we've hit the true question:
Should '.' behave the same way as [^\n] ?
Who is going to write [^\n] if you can use '.' ?
From my point of view there is no use of [^\n] other than causing
New arguments for keeping surprising [^\n] behaviour?
Let's ask in a different way: Is there a use case for [^\n] like
patterns at all (except that '.' which can be expressed as '.')?
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@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>