static void ai_spec_answerPattern() { if (!ai_postingInSubSpace()) ret; for (S q : ai_texts_unquote("$X", "should be", "answered")) { for (Pair p : ai_texts_xy_unquoteBoth("$X", "is an answer pattern for", "$Y")) { SS match = matchDollarVarsIC(p.b, q); if (match != null) post(".", "Look for answer pattern", quote(formatDollarVarsIC(p.a, match))); else print("no match: " + unquote(p.b) + " / " + q); } } }