scope magicQuoteInputForThisProgram. static L #matchers; static LS magicQuoteInputForThisProgram(S input) { Cl inputs = magicQuotes(input); // all quoted variants if (matchers == null) matchers = matchingPatternsInJavaXSource_withFunctions(programID()); ret filter(inputs, i -> matchedByAnyFunctionNameAndPattern(matchers, i)); // filter quoted inputs that match } end scope