void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.noneOf(RegExpCapability.class)); doTest("\\0\\123[\\123]", """ BAD_OCT_VALUE ('\\0') BACKREF ('\\1') CHARACTER ('2') CHARACTER ('3') CLASS_BEGIN ('[') INVALID_CHARACTER_ESCAPE_TOKEN ('\\1') CHARACTER ('2') CHARACTER ('3') CLASS_END (']')""", lexer); }