void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.of(MYSQL_BRACKET_EXPRESSIONS)); doTest("[[=.=][=c=]]", """ CLASS_BEGIN ('[') MYSQL_CHAR_EQ_BEGIN ('[=') CHARACTER ('.') MYSQL_CHAR_EQ_END ('=]') MYSQL_CHAR_EQ_BEGIN ('[=') CHARACTER ('c') MYSQL_CHAR_EQ_END ('=]') CLASS_END (']')""", lexer); }