Last modified: 2010-07-29 20:33:01 UTC
The RegExp engine of JavaScript supports substitution of matching sub-expressions given in parentheses. And Search&Replace interface supports sub-expressions in 'Search for' field as well. But the 'Replace with' field doesn't support any escape sequences to substitute matching sub-expressions back to the resulting output. Those are %1,%2 (like in JS), \1,\2 (like in sed), etc. Implementing escape sequences for this stuff would be great.
*** This bug has been marked as a duplicate of bug 24326 ***