There seems to be a feature in Lua for avoiding nested “[[” and “]]” in multiline strings, is to add “=” characters in the brackets - you can add as many “=” as necessary to create a unique matching pair at each end:
This seems to be recognised in Notepad++ but not in renoise which also throws an error when trying to run:
Notepad++
also see Nesting Quotes here:
\\
Found while trying to work with a VST preset. They all seem to have double closing brackets before the end of ParameterChunk. I tries concatenating two multiline strings as a workaround but that wouldn’t parse
standard ending to a VST preset:
AAAAAAAAAAkgQAAAAAAABDb250wgQAAAAAAAABAAAAAAAAAA==]]></ParameterChunk>>