void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.noneOf(RegExpCapability.class)); doTest("[a&&]", """ CLASS_BEGIN ('[') CHARACTER ('a') CHARACTER ('&') CHARACTER ('&') CLASS_END (']')""", lexer); }