Does ContentRange.Replace(Regex, String) support substitutions?

I would like to use substitutions in regular expression-based replacements, e.g.

Regex reg = new Regex("cat(A)");
string replacement = "dog$1";
document.Content.Replace(reg, replacement);

This should replace catA by dogA.
But in my tests catA is replaced by dog$1.
Are regular expression substitutions actually supported?

Thanks!

Hi Thomas,

Please try again with this bugfix:
https://www.gemboxsoftware.com/document/nightlybuilds/GBD35v1271.zip

Or this NuGet package:
Install-Package GemBox.Document -Version 35.0.1271-hotfix

Does this solve your issue?

Regards,
Mario

Thanks, Mario, for the fast repsonse and bugfix!
It is working now!
Best, Thomas