static void ai_spec_whatIsXInY(S s) { new Matches m; if (!flexMatchIC("What is * in *", unquote(s), m)) ret; S elem = m.get(0), thing = m.get(1); for (S text : takeFirst(ai_spec_maxAnswersToReturn(), ai_texts("$X", "is " + elem + " in ", thing)) post(quote(text), "answers", s); }