int (int i, @NotNull String text, int nSlashes, @NotNull StringBuilder result) { char c = text.charAt(i); if (c != '"') return -1; if (nSlashes % 2 == 0) nSlashes++; result.append(StringUtil.repeatSymbol('\\', nSlashes)).append(c); return i + 1; }