void () { final RegExpLexer lexer = new RegExpLexer(EnumSet.noneOf(RegExpCapability.class)); doTest("(?>atom)", """ ATOMIC_GROUP ('(?>') CHARACTER ('a') CHARACTER ('t') CHARACTER ('o') CHARACTER ('m') GROUP_END (')')""", lexer); doTest("(?:no)", """ NON_CAPT_GROUP ('(?:') CHARACTER ('n') CHARACTER ('o') GROUP_END (')')""", lexer); }