private static @NotNull String convertToRegular(@NotNull String literal) {
    if (literal.length() < 6 || !literal.startsWith("\"\"\"") || !literal.endsWith("\"\"\"")) {
      return literal;
    }
    int end = literal.length() - 3;
    StringBuilder sb = null;
    for (int i = 3; i < end; i++) {
      char ch = literal.charAt(i);
      if (ch == '"') {
        if (sb == null) {
          sb = new StringBuilder(literal.substring(3, i));
        }
        sb.append("\\\"");
      } else if (sb != null) {
        sb.append(ch);
      }
      int nextI = PsiLiteralUtil.parseBackSlash(literal, i);
      if (nextI != -1) {
        if (nextI == i + 1 && literal.charAt(nextI) == 's') {
          if (sb == null) {
            sb = new StringBuilder(literal.substring(3, i));
          }
          sb.append(' ');
        } else if (sb != null) {
          sb.append(literal, i + 1, nextI + 1);
        }
        //noinspection AssignmentToForLoopParameter
        i = nextI;
      }
    }
    return sb == null ? literal.substring(2, end + 1) : '"' + sb.toString() + '"';
  }
private static @NotNull String convertToRegular(@NotNull String literal)