An R library enabling regex-based string replacement that allows a function as a replacement argument. The whole match and its capturing groups can be passed to that function and the match can be further manipulated inside the function (like incrementing matched numbers, replace certain patterns only inside another pattern, etc.)