G'day folks, In the following sample string:
{pre{contained}post} the right brace after "contained" is not highlighted when using these syntax commands. syn region foo1 matchgroup=foo2 start="{" end="}" contains=foo3 syn region foo3 start="{" end="}" transparent contained hi def link foo1 Constant hi def link foo2 Delimiter Vim 6 seems to exhibit the correct behaviour. Regards, Doug