Open phreed opened 2 years ago
In the documentation https://github.com/antlr/stringtemplate4/blob/master/doc/cheatsheet.md is the following:
I tried to use '<\n\t' and ST4 produced the error: expecting '>', found '\' Replacement with '<\n><\t>' works as expected.
expecting '>', found '\'
That's weird. Thanks for letting me know.
In the documentation https://github.com/antlr/stringtemplate4/blob/master/doc/cheatsheet.md is the following:
<\ >, <\n>, <\t> | special character(s): space, newline, tab. Can have multiple in single <...> expression, e.g. <\t\t>. -- | --I tried to use '<\n\t' and ST4 produced the error:
expecting '>', found '\'
Replacement with '<\n><\t>' works as expected.