vitaLee wrote:I have the following usecase:
find hex colors with uppercase letters: #([A-F\d]+)
replace uppercase letters with lower ones: #\L$1\E
RegReplace, since it uses re, requires groups to be specified as \1 not $1. So, #\L\1\E would be more appropriate (in a string you would obviously escape the slashes).
But you still won't get your desired effect because re does not support Oniguruma.
I can see the desire to use Oniguruma though...maybe down the line I can implement this with a third party package like https://github.com/mitsuhiko/ponyguruma, or at the very least create some kind of system to allow users to write scripts to manipulate the regex groups format on replace.
Hopefully, that answered your questions, and while I don't have an immediate fix to allow you to do what you want, maybe down the line. Feel free to make this suggestion on Github at the RegReplace repo.