void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.noneOf(RegExpCapability.class)); doTest("\\#(?x)\\#", """ REDUNDANT_ESCAPE ('\\#') SET_OPTIONS ('(?') OPTIONS_ON ('x') GROUP_END (')') ESC_CHARACTER ('\\#')""", lexer); }