void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.of(OCTAL_NO_LEADING_ZERO)); doTest("\\39[\\39]", """ OCT_CHAR ('\\3') CHARACTER ('9') CLASS_BEGIN ('[') OCT_CHAR ('\\3') CHARACTER ('9') CLASS_END (']')""", lexer); }