Hi,

I'm reading some vim script.
I was wondering about the following
It says
let g:expression =
\ <all kind of code, ending with a dot> .
\ <more code ending with a dot> .
\ <even more code NOT ending with a dot>

Question 1: Is this \ a 'line-continuation' character? In other words should it be read as one line?
Question 2: And what is the function of the dot?

To give an example:
let g:jeri =
\'\v(^\s*(def|class|module|attr_reader|attr_accessor|alias_method|' .
\    'attr|module_function' . ')\s' .
\ '|\v^\s*(public|private|protected)>' .
\ ^\s*\w+attr_(reader|accessor)\s|^\s*[#%"0-9]{0,4}\s*\{\{\{[^{])' .
\ '|^\s*[A-Z]\w+\s*\=[^=]|^__END__$'

Rgds
Jeri

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

Reply via email to