Friday, August 17, 2012

Re: error in regex handling of \n?

>
> This I cannot reproduce. [\n] only matches newline characters for me on 7.3.622. But [^\n] matches everything. Assuming the above discussion of the help text is accurate, I would EXPECT [^\n] to match everywhere. It basically acts like a \_. atom.

Hi again, I made a mistake. It's [^\n] which matches everything. Still weird, imho. I feel that the discussion is a bit over my head though, my regex-fu wouldn't impress any of you :)

By the way, I can verify that up to patchlevel 515 on Fedora Linux 16 and patchlevel 556 on Fedora Linux 17, the same issue persists. That is, assuming that's something people want to discuss.

Paul

--
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

No comments:

Post a Comment