s := "This will fail (yes)";
Will expect yes to be a cpp2 expression because there is no check if the left parenthesis has a matching capture end ()$). Lookaheads do not seem to be supported in JFlex so we need a workaround.
Screenshot of resulting IDE text:
