void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.of(NESTED_CHARACTER_CLASSES)); doTest("[a-z&&[^aeuoi]]", """ CLASS_BEGIN ('[') CHARACTER ('a') MINUS ('-') CHARACTER ('z') ANDAND ('&&') CLASS_BEGIN ('[') CARET ('^') CHARACTER ('a') CHARACTER ('e') CHARACTER ('u') CHARACTER ('o') CHARACTER ('i') CLASS_END (']') CLASS_END (']')""", lexer); }