Monday, February 18, 2013

Re: trouble with pattern, character collections

Hi Ben!

On Mo, 18 Feb 2013, Ben Fritz wrote:

> I thought 7.3.796 fixed this so [^\n] is the same as '.'? Isn't that the case?

It is. The problem is, that there is a difference between the evaluated
string "[^\n]" which means match anything but linefeed and '[^\n]' which
means anything but "a line seperator". This is, so that the linefeed
control char whithin a text can be matched by '.' or [^\n]

regards,
Christian
--
Früher gab es da Universalregeln. Zum Glück ist es jetzt komplizierter
geworden.

--
--
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@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: