lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


The other option of course is to close the [[ ]] string, concatenate a "]]", then restart the [[ ]] string, though this has the disadvantage of not being a single string at compile time and requiring the concatenation to occur at runtime, it might be easier to implement for your case.

i.e. replace ]] in the input with ]].."]]"..[[

Daniel.