sbool match4_debug; static bool match4(S pat, S s) { L tokpat = javaTok(pat); jfind_preprocess(tokpat); dropPunctuation(tokpat); L tok = dropPunctuation(javaTok(s)); if (match4_debug) print("match4: " + tokpat + " / " + tok); if (l(tok) != l(tokpat)) { if (match4_debug) print("match4: length mismatch"); false; } int i = jfind(tokpat, tok); if (match4_debug) print("match4: jfind=" + i); ret i == 1; }