void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.noneOf(RegExpCapability.class)); doTest("\\n\\b\\t\\r\\f[\\n\\b\\t\\r\\f]", """ ESC_CTRL_CHARACTER ('\\n') BOUNDARY ('\\b') ESC_CTRL_CHARACTER ('\\t') ESC_CTRL_CHARACTER ('\\r') ESC_CTRL_CHARACTER ('\\f') CLASS_BEGIN ('[') ESC_CTRL_CHARACTER ('\\n') ESC_CTRL_CHARACTER ('\\b') ESC_CTRL_CHARACTER ('\\t') ESC_CTRL_CHARACTER ('\\r') ESC_CTRL_CHARACTER ('\\f') CLASS_END (']')""", lexer); doTest("\n\t\r\f[\n\t\r\f]", """ CTRL_CHARACTER ('\\n') CTRL_CHARACTER ('\t') CTRL_CHARACTER (' ') CTRL_CHARACTER ('\f') CLASS_BEGIN ('[') CTRL_CHARACTER ('\\n') CTRL_CHARACTER ('\t') CTRL_CHARACTER (' ') CTRL_CHARACTER ('\f') CLASS_END (']')""", lexer); }