Hello eap-features,

Suppose I am looking to replace some usages of a method, first finding
it with regular expression search. However I would like to insert some
substrings taken from the first string into the second- but is that
possible (through the \1..\n references)?

suppose I have (a purely fictional example):
getFieldValue(String, boolean);

all occurences of getFieldValue get replaced to:

getFieldValue(this,"lastName",false);

through search string:
getFieldValue\("(.*)", ([^)]+)\) -> getFieldValue(this,\1,\2)

-- 
Best regards,
 Grzegorz                          mailto:[EMAIL PROTECTED]


_______________________________________________
Eap-features mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-features

Reply via email to