regex to reformat gpr names for arraylists
2014-08-29azim58 - regex to reformat gpr names for arraylists
find
(ArrayList )(.+)( = getF647MediansFromGPR\(current_directory \+
\"\\\\)(.+)(\.gpr\"\);\s)(.+)\.gpr?\s\s+(.+)\.gpr
replace
$1 $6$3$6$5\r$1 $7$3$7$5
starting from something like
ArrayList 1_nM_sec_only_2 = getF647MediansFromGPR(current_directory +
"\\1_nM_sec_only_2.gpr");
ArrayList tumor_plus_1_nM_sec_2 = getF647MediansFromGPR(current_directory
+ "\\tumor_plus_1_nM_sec_2.gpr");
ArrayList 1_nM_sec_only = getF647MediansFromGPR(current_directory +
"\\1_nM_sec_only.gpr");
ArrayList tumor_plus_1_nM_sec = getF647MediansFromGPR(current_directory +
"\\tumor_plus_1_nM_sec.gpr");
ArrayList 2_point_5_nM_sec_only_2 =
getF647MediansFromGPR(current_directory +
"\\2_point_5_nM_sec_only_2.gpr");
ArrayList tumor_plus_2_point_5_nM_sec_2 =
getF647MediansFromGPR(current_directory +
"\\tumor_plus_2_point_5_nM_sec_2.gpr");
ArrayList 2_point_5_nM_sec_only = getF647MediansFromGPR(current_directory
+ "\\2_point_5_nM_sec_only.gpr");
ArrayList tumor_plus_2_point_5_nM_sec =
getF647MediansFromGPR(current_directory +
"\\tumor_plus_2_point_5_nM_sec.gpr");
ArrayList 5_nM_sec_only_2 = getF647MediansFromGPR(current_directory +
"\\5_nM_sec_only_2.gpr");
ArrayList tumor_plus_5_nM_sec_2 = getF647MediansFromGPR(current_directory
+ "\\tumor_plus_5_nM_sec_2.gpr");
ArrayList 5_nM_sec_only = getF647MediansFromGPR(current_directory +
"\\5_nM_sec_only.gpr");
ArrayList tumor_plus_5_nM_sec = getF647MediansFromGPR(current_directory +
"\\tumor_plus_5_nM_sec.gpr");
===========================================================================
returns
ArrayList 1_nM_sec_only_2 = getF647MediansFromGPR(current_directory +
"\\1_nM_sec_only_2.gpr");
ArrayList tumor_plus_1_nM_sec_2 = getF647MediansFromGPR(current_directory
+ "\\tumor_plus_1_nM_sec_2.gpr");
ArrayList 1_nM_sec_only = getF647MediansFromGPR(current_directory +
"\\1_nM_sec_only.gpr");
ArrayList tumor_plus_1_nM_sec = getF647MediansFromGPR(current_directory +
"\\tumor_plus_1_nM_sec.gpr");
ArrayList 2_point_5_nM_sec_only_2 =
getF647MediansFromGPR(current_directory +
"\\2_point_5_nM_sec_only_2.gpr");
ArrayList tumor_plus_2_point_5_nM_sec_2 =
getF647MediansFromGPR(current_directory +
"\\tumor_plus_2_point_5_nM_sec_2.gpr");
ArrayList 2_point_5_nM_sec_only = getF647MediansFromGPR(current_directory
+ "\\2_point_5_nM_sec_only.gpr");
ArrayList tumor_plus_2_point_5_nM_sec =
getF647MediansFromGPR(current_directory +
"\\tumor_plus_2_point_5_nM_sec.gpr");
ArrayList 5_nM_sec_only_2 = getF647MediansFromGPR(current_directory +
"\\5_nM_sec_only_2.gpr");
ArrayList tumor_plus_5_nM_sec_2 = getF647MediansFromGPR(current_directory
+ "\\tumor_plus_5_nM_sec_2.gpr");
ArrayList 5_nM_sec_only = getF647MediansFromGPR(current_directory +
"\\5_nM_sec_only.gpr");
ArrayList tumor_plus_5_nM_sec = getF647MediansFromGPR(current_directory +
"\\tumor_plus_5_nM_sec.gpr");