Multiple special characters in a single <...> does not work as documented
Open
type:bug
- Dominant language
- Java
- Stars
- 1k
- Forks
- 234
- PR merge metrics
- No merged PRs in 30d
Description
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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.