code: public static String[] replaceFunctionQuote(String[] lines) {
          boolean function = false;
          boolean immediately = false;
          for (int i = 0; i < lines.length; i++) {
              String line = lines[i].trim();
              if (!function && line.contains("\"function")) {
                  function = true;
                  line = line.replaceAll("\"function", "function");
              }
              if (function && line.contains("}\"")) {
                  function = false;
                  line = line.replaceAll("\\}\"", "\\}");
              }
  
              if (!immediately && line.contains("\"(function")) {
                  immediately = true;
                  line = line.replaceAll("\"\\(function", "\\(function");
              }
              if (immediately && line.contains("})()\"")) {
                  immediately = false;
                  line = line.replaceAll("\\}\\)\\(\\)\"", "\\}\\)\\(\\)");
              }
              lines[i] = line;
          }
          return lines;
      }
docs: 处理字符串中的function和(function(){})()，除{}中的代码外，其他地方不允许有空格
  
  @param lines
  @return