136286Re: trouble with pattern, character collections
- Feb 20, 2013On 19.02.13 10:23, Christian Brabandt wrote:
> Bram, here is a patch, making [^\n] not match NL within the text andChristian, many thanks for the work you have done, and for putting users
> that also documents, that '.' matches CR and LF within the text.
> This makes both  and  behave the same and seems to better match
> the users expectations.
first. It is heartily appreciated.
The consolation may be small, but vim is now consistent with awk:
. This matches any single character, including the newline character.
« - xpdf gawk.pdf # "Effective AWK Programming"
O'Reilly's "Mastering Regular Expressions" has it as varying between
tools. (OK, we knew that. :-)
The only thing worse than X Windows: (X Windows) - X
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 >>