fixed pattern to not match closing '}}' sequence if inside of string
fixed pattern in case of snippets with leading extra '{'
fixed template to not parse generated includes