Program: 28177
Project: 28177
Buggy source:
private void initConfigFromFlags(String[] args,PrintStream err){
  Pattern argPattern=Pattern.compile("String_Node_Str");
  Pattern quotesPattern=Pattern.compile("String_Node_Str");
  List<String> processedArgs=Lists.newArrayList();
  for (  String arg : args) {
    Matcher matcher=argPattern.matcher(arg);
    if (matcher.matches()) {
      processedArgs.add(matcher.group(1));
      String value=matcher.group(2);
      Matcher quotesMatcher=quotesPattern.matcher(value);
      if (quotesMatcher.matches()) {
        processedArgs.add(quotesMatcher.group(1));
      }
 else {
        processedArgs.add(value);
      }
    }
 else {
      processedArgs.add(arg);
    }
  }
  CmdLineParser parser=new CmdLineParser(flags);
  isConfigValid=true;
  try {
    parser.parseArgument(processedArgs.toArray(new String[]{}));
  }
 catch (  CmdLineException e) {
    err.println(e.getMessage());
    isConfigValid=false;
  }
  if (flags.version) {
    ResourceBundle config=ResourceBundle.getBundle(configResource);
    err.println("String_Node_Str" + "String_Node_Str" + config.getString("String_Node_Str") + "String_Node_Str"+ "String_Node_Str"+ config.getString("String_Node_Str"));
    err.flush();
  }
  if (!isConfigValid || flags.display_help) {
    isConfigValid=false;
    parser.printUsage(err);
  }
 else {
    getCommandLineConfig().setPrintTree(flags.print_tree).setComputePhaseOrdering(flags.compute_phase_ordering).setPrintAst(flags.print_ast).setPrintPassGraph(flags.print_pass_graph).setJscompDevMode(flags.jscomp_dev_mode).setLoggingLevel(flags.logging_level).setExterns(flags.externs).setJs(flags.js).setJsOutputFile(flags.js_output_file).setModule(flags.module).setVariableMapInputFile(flags.variable_map_input_file).setPropertyMapInputFile(flags.property_map_input_file).setVariableMapOutputFile(flags.variable_map_output_file).setCreateNameMapFiles(flags.create_name_map_files).setPropertyMapOutputFile(flags.property_map_output_file).setCodingConvention(flags.third_party ? new DefaultCodingConvention() : new ClosureCodingConvention()).setSummaryDetailLevel(flags.summary_detail_level).setOutputWrapper(flags.output_wrapper).setOutputWrapperMarker(flags.output_wrapper_marker).setModuleWrapper(flags.module_wrapper).setModuleOutputPathPrefix(flags.module_output_path_prefix).setCreateSourceMap(flags.create_source_map).setJscompError(flags.jscomp_error).setJscompWarning(flags.jscomp_warning).setJscompOff(flags.jscomp_off).setDefine(flags.define).setCharset(flags.charset).setManageClosureDependencies(flags.manage_closure_dependencies).setClosureEntryPoints(flags.closure_entry_point).setOutputManifest(flags.output_manifest);
  }
}

Fixed version (ground truth):
private void initConfigFromFlags(String[] args,PrintStream err){
  List<String> processedArgs=processArgs(args);
  CmdLineParser parser=new CmdLineParser(flags);
  isConfigValid=true;
  try {
    parser.parseArgument(processedArgs.toArray(new String[]{}));
    if (!flags.flag_file.equals("String_Node_Str")) {
      processFlagFile(err);
    }
  }
 catch (  CmdLineException e) {
    err.println(e.getMessage());
    isConfigValid=false;
  }
catch (  IOException ioErr) {
    err.println("String_Node_Str" + flags.flag_file + "String_Node_Str");
    isConfigValid=false;
  }
  if (flags.version) {
    ResourceBundle config=ResourceBundle.getBundle(configResource);
    err.println("String_Node_Str" + "String_Node_Str" + config.getString("String_Node_Str") + "String_Node_Str"+ "String_Node_Str"+ config.getString("String_Node_Str"));
    err.flush();
  }
  if (!isConfigValid || flags.display_help) {
    isConfigValid=false;
    parser.printUsage(err);
  }
 else {
    getCommandLineConfig().setPrintTree(flags.print_tree).setComputePhaseOrdering(flags.compute_phase_ordering).setPrintAst(flags.print_ast).setPrintPassGraph(flags.print_pass_graph).setJscompDevMode(flags.jscomp_dev_mode).setLoggingLevel(flags.logging_level).setExterns(flags.externs).setJs(flags.js).setJsOutputFile(flags.js_output_file).setModule(flags.module).setVariableMapInputFile(flags.variable_map_input_file).setPropertyMapInputFile(flags.property_map_input_file).setVariableMapOutputFile(flags.variable_map_output_file).setCreateNameMapFiles(flags.create_name_map_files).setPropertyMapOutputFile(flags.property_map_output_file).setCodingConvention(flags.third_party ? new DefaultCodingConvention() : new ClosureCodingConvention()).setSummaryDetailLevel(flags.summary_detail_level).setOutputWrapper(flags.output_wrapper).setOutputWrapperMarker(flags.output_wrapper_marker).setModuleWrapper(flags.module_wrapper).setModuleOutputPathPrefix(flags.module_output_path_prefix).setCreateSourceMap(flags.create_source_map).setJscompError(flags.jscomp_error).setJscompWarning(flags.jscomp_warning).setJscompOff(flags.jscomp_off).setDefine(flags.define).setCharset(flags.charset).setManageClosureDependencies(flags.manage_closure_dependencies).setClosureEntryPoints(flags.closure_entry_point).setOutputManifest(flags.output_manifest);
  }
}