Christian Brabandt wrote:
> On Wed, December 23, 2009 12:54 pm, Tim Chase wrote:
>>> ^\([^; ]*\)
>> """
>> zero or more "anything except a semicolon or space (or newline,
>> implicitly)" at the beginning of the line
>> """
> 
> Is that true? Does [ ] really match a newline? I don't think so
> and I can't find it in the help. To match the newline, you should
> prepend \_ to the collection, shouldn't you?

We're both right...just a miscommunication on my part or a 
misunderstanding/misreading on yours (or both)  My comment was intended 
to mean that semi+space+nl are excluded from matching because by default 
(as you note) the NL never matches a character-collection unless you 
explicitly request it via \_[...]

-tim



-- 
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php

Reply via email to