void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.of(OCTAL_NO_LEADING_ZERO, MAX_OCTAL_377)); doTest("\\177\\200\\377\\400", """ OCT_CHAR ('\\177') OCT_CHAR ('\\200') OCT_CHAR ('\\377') BAD_OCT_VALUE ('\\40') CHARACTER ('0')""", lexer); }