[type]
Parser

[grammar]
grammar T;
a : LETTERS {<InputText():writeln()>} ;
// These are actually not escaped -- Java passes the
// raw unescaped Unicode values to the grammar compiler.
LETTERS : ('a'|'ä'|'亜'|'あ')* 'c';

[start]
a

[input]
aäあ亜c

[output]
"""aäあ亜c
"""

