Get backreferences values and modificate these values
- by roasted
Could you please explain why im not able to get values of backreferences from a matched regex result and apply it some modification before effective replacement?
The expected result is replacing for example string ".coord('X','Y')" by "X * Y". But if X to some value, divide this value by 2 and then use this new value in replacement.
Here the…