Hi all,

I just wanted to do the following S&R operation:

Search for : _(.+) +=(.+);
Replace with: _\1 = new Constant( \2, "\1");

to replace several occurences of public finals like this:

        public final static int INT_LOAD = 0;
        public final static int INT_UNLOAD = 1;

with
        public final static int INT_LOAD = new Constant( 0, "LOAD");
        public final static int INT_UNLOAD = new Constant( 1, "UNLOAD");

but found that IDEA replaces each occurrence with:
        public final static int INT_\1 = new Constant( \2, "\1");

It seems as if the "Replace with" expression is not parsed at all.

Is this a bug or am I missing something here?

Regards, 
Marc Wirth




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

Reply via email to