Thanks, I nearly done it:
syn region cppRawString
start=+R"\([a-zA-Z0-9\_\{\}\]\#\(\)\<\>\%\:\;\.\?\*\+\-\/\^\&\|\~\!\=\,\\\"\']\)*\[+ end=+\]\1"+ contains=cSpecial,cFormat,@Spell
Just the problem is, it seems like I couldn't use the grouped atom in
the start pattern for use in the end pattern..
Vim is saying: "Illegal back reference" because I use \1 in the end
pattern..
The start pattern is correct, I tested it, only the end pattern isn't
working.
How can I get the group-match of the start pattern and use it in the end
pattern?
Is this even possible right now? If it wasn't possible C++ raw strings
would be impossible to implement :-(
Kind Regards, René
Am 04.03.2010 10:02, schrieb Lech Lorens:
Syntax for C++ is defined in $VIMRUNTIME/syntax/cpp.vim
The $VIMRUNTIME environment variable is defined by Vim.
--
You received this message from the "vim_dev" 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