void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.of(MYSQL_BRACKET_EXPRESSIONS)); doTest("[[.~.][.tilda.][.NUL.][.plus-sign.]]", """ CLASS_BEGIN ('[') MYSQL_CHAR_BEGIN ('[.') CHARACTER ('~') MYSQL_CHAR_END ('.]') MYSQL_CHAR_BEGIN ('[.') NAME ('tilda') MYSQL_CHAR_END ('.]') MYSQL_CHAR_BEGIN ('[.') NAME ('NUL') MYSQL_CHAR_END ('.]') MYSQL_CHAR_BEGIN ('[.') NAME ('plus-sign') MYSQL_CHAR_END ('.]') CLASS_END (']')""", lexer); }