void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.noneOf(RegExpCapability.class)); doTest("\\Q\r\n\\E", """ QUOTE_BEGIN ('\\Q') CHARACTER (' ') CHARACTER ('\\n') QUOTE_END ('\\E')""", lexer); }